Difference between revisions of "DCS func getSize"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
(No difference)
|
m (1 revision imported) |
(No difference)
|
| 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: | |||