Forged Alliance Forever Forged Alliance Forever Forums 2019-06-06T13:24:26+02:00 /feed.php?f=41&t=17621 2019-06-06T13:24:26+02:00 2019-06-06T13:24:26+02:00 /viewtopic.php?t=17621&p=175355#p175355 <![CDATA[Re: Adding toggle button]]>
The simple way is taking a look at an existing toggle script and copy. You may have to mod several lua files :
- unit bp to add the toggle button
- commandmode.lua for the custom selection script.
- orders_mini.lua for the slot orders
- unitview.lua for refreshing unit control buttons.

Hope this help.

Statistics: Posted by Franck83 — 06 Jun 2019, 13:24


]]>
2019-06-01T22:10:09+02:00 2019-06-01T22:10:09+02:00 /viewtopic.php?t=17621&p=175260#p175260 <![CDATA[Adding toggle button]]>
I am looking to add a toggle button akin to the engineering station/drone button that lets you switch between the units. This is for the mobile factory units as featured in equilibrium.

Statistics: Posted by Evildrew — 01 Jun 2019, 22:10


]]>