Returns a list of units which are under the command of the specified lead unit.
The returned list always contains the lead unit as well, either as the first element in the list, or, if there are no subordinates, as the only element.
|Syntax:||leader call fn_vbs_allUnitsInCoC|
|Return Value:||Array of Object - Lead unit, plus any subordinates.|
When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.
_grp = player call fn_vbs_allUnitsInCoC