Page 1 of 1

Toggle Buttons for units with LUS?

Posted: 12 Jun 2011, 21:31
by bobthedinosaur
I'm looking for a version of the toggle button but that work for units that use LUS. Am I imagining that this was done once before, because I can't seem to find it?

Re: Toggle Buttons for units with LUS?

Posted: 12 Jun 2011, 22:56
by FLOZi
?

You can add as many toggle buttons as you like in a gadget. I'm guessing you then want LUS to be informed of the change or something??

Re: Toggle Buttons for units with LUS?

Posted: 12 Jun 2011, 23:06
by smoth
toggle button?

Re: Toggle Buttons for units with LUS?

Posted: 12 Jun 2011, 23:18
by knorke
On the wiki is an example that allows you turn toggle movement of flash tanks between "drive slow, turn fast" and "drive fast, turn slow."
Did not find it now though.
You could just add a CallAsUnit() to notify the unit script about the change of the toggle button.

Re: Toggle Buttons for units with LUS?

Posted: 12 Jun 2011, 23:54
by oksnoop2