Difference between revisions of "DCS func getSize"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
Line 37: Line 37:
 
}}
 
}}
 
[[Category:Class Functions|getSize]]
 
[[Category:Class Functions|getSize]]
 +
[[Category:Game Patch 1.2.0|getSize]]

Latest revision as of 00:14, 21 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: getSize Added with: 1.2.0
Member Of: Group
Syntax: number Group.getSize(Class Self )
Description: Returns the current size of the group. This value will change as units are destroyed. Can be used in combination with getUnit to not accidentally use to big a value for that function, or to access the last unit in the group.


Return Value: number
Return Example:
Examples:
Related Functions: Group Functions: isExist, activate, destroy, getCategory, getCoalition, getName, getID, getUnit, getUnits, getSize, getInitialSize, getController, enableEmission
Notes: