2 simple widgets that allow people to more easily toggle their unit's firestates or movestates.
Reverse Toggle toggles the states backwards when the icon is right clicked on.
State Remove removes unwanted states by skipping over them when toggling. It can be used to remove an unwanted state such as Return Fire. It is set to remove Roam and Return Fire by default.
Easy state toggling
Moderator: Moderators
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Easy state toggling
- Attachments
-
- cmd_state_remove.lua
- Removes 'return fire' and 'roam' states
- (1010 Bytes) Downloaded 64 times
-
- cmd_state_reverse_toggle.lua
- Makes fire and movestates reverse toggleable
- (1.28 KiB) Downloaded 22 times
Re: Easy state toggling
But neither one will simply let me click the button and have it show up instantly so I can click it again?
Re: Easy state toggling
could u give a not exp. lua-maker a list of commands for the other stuff?
Re: Easy state toggling
All i want is a shortcut key for them
Re: Easy state toggling
remove state + hotkey should be cool, the states are removed when toggling with key too, not just UI icon right?
And what are the lines to switch those states in UIkeys?
And what are the lines to switch those states in UIkeys?
Re: Easy state toggling
/bind alt+s movestate [0-2]
/bind alt+f firestate [0-2]
/bind alt+f firestate [0-2]
Re: Easy state toggling
thanks, and another question about keys; how do i get to use the ├Ñ├ñ├ keys on my keyboard in spring?
Re: Easy state toggling
from uikeys.txt:
"KeySet Format" section :
If you want to use a key that is unknown to Spring,
then you may use the hexadecimal notation.
/keysyms : prints the known keysyms to standard out
/keycodes : prints the known keycodes to standard out
/keydebug : prints debugging information to standard out (for each keystroke)
Enable /keydebug 1, and see what you get
(assuming the command still works).
"KeySet Format" section :
If you want to use a key that is unknown to Spring,
then you may use the hexadecimal notation.
/keysyms : prints the known keysyms to standard out
/keycodes : prints the known keycodes to standard out
/keydebug : prints debugging information to standard out (for each keystroke)
Enable /keydebug 1, and see what you get
(assuming the command still works).