MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Aug 30, 2005 10:19 pm |
Yep, the command to do this is
#BUTTON name state
Name is the short id of the button (set in the Options tab for that button, if I recall). Name can also be a number, but it's not recommended--not only can you only see this number in the class script or in the text version (ie, importing/exporting), but this number changes based on the order of the buttons AND the scripts that refer to this number won't automatically change as well.
State is either 0 or 1 for all types of buttons except for multi-state or menu buttons. For toggle buttons, I believe 0 is up and 1 is down. Oh, and lest you make a mistaken assumption, this state does not refer to the States tab you see for buttons in the Settings Editor. The States tab is for triggers only, and I'm assuming Zugg has no way/intention of removing it for buttons. |
|