unitsBelowHeight: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (the command is 2 syntaxes) |
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
||
Line 46: | Line 46: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 15:41, 10 January 2020
Description
- Description:
- Returns units in group/array below given Above Terrain Level (ATL) height.
- Groups:
- Uncategorised
Syntax
- Syntax:
- units unitsBelowHeight height
- Parameters:
- units: Array of Objects
- height: Number - height above terrain level (PositionATL)
- Return Value:
- Array of Objects
Alternative Syntax
- Syntax:
- group unitsBelowHeight height
- Parameters:
- group: Group - AI group
- height: Number - height above terrain level (PositionATL)
- Return Value:
- Array of Objects
Examples
- Example 1:
_allOnGroudUnits = group player unitsBelowHeight 10;
- Example 2:
_units = allUnits unitsBelowHeight 30;
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note