Page 1 of 1

Easy state toggling

Posted: 02 Oct 2009, 02:56
by Google_Frog
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.

Re: Easy state toggling

Posted: 02 Oct 2009, 10:58
by lurker
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

Posted: 02 Oct 2009, 11:36
by manolo_
could u give a not exp. lua-maker a list of commands for the other stuff?

Re: Easy state toggling

Posted: 02 Oct 2009, 11:37
by Gota
All i want is a shortcut key for them

Re: Easy state toggling

Posted: 02 Oct 2009, 13:13
by JohannesH
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?

Re: Easy state toggling

Posted: 02 Oct 2009, 13:38
by Beherith
/bind alt+s movestate [0-2]
/bind alt+f firestate [0-2]

Re: Easy state toggling

Posted: 03 Oct 2009, 18:20
by JohannesH
thanks, and another question about keys; how do i get to use the ├Ñ├ñ├ keys on my keyboard in spring?

Re: Easy state toggling

Posted: 03 Oct 2009, 19:06
by trepan
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).