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
]]>