SelectUnit
- Parameters
-
whichUnit unit
flag boolean
- comment
- bug
If you use this function to select a unit after calling
ClearSelection
(likeSelectUnitSingle
does) 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
- return type
nothing
- Source code
native SelectUnit takes unit whichUnit, boolean flag returns nothing