Description
Returns units in group/array below given Above Terrain Level (ATL) altitude.
Note
an object's ATL altitude can be found with
_altitude = (getPosATL _obj) select 2;.
Syntax
Syntax 1
units unitsBelowHeight height
Parameters:
units: Array of Objectsheight: Number - height above terrain level (PositionATL)
Syntax 2
group unitsBelowHeight height
Parameters:
group: Group - AI groupheight: Number - height above terrain level (PositionATL)
Examples
Example 1
_allOnGroudUnits = group player unitsBelowHeight 10;
Example 2
_units = allUnits unitsBelowHeight 30;