SelectUnit
- Parameters
whichUnit unitflag boolean- comment
- bug
If you use this function to select a unit after calling
ClearSelection(likeSelectUnitSingledoes) and you have a unit sub-menu opened (like spellbook or build structure), the command buttons of the selected unit won't show until you select another unit.- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
native SelectUnit takes unit whichUnit, boolean flag returns nothing