inAreaArrayIndexes: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add AGL/ASL note) |
Lou Montana (talk | contribs) m (Fix) |
||
Line 16: | Line 16: | ||
|descr= Returns indices of positions that are within the provided area. | |descr= Returns indices of positions that are within the provided area. | ||
{{Feature|important|Unlike [[inAreaArray]], | {{Feature|important|Unlike [[inAreaArray]], ''area'' position is [[Position#PositionASL|PositionASL]].}} | ||
|s1= positions [[inAreaArrayIndexes]] area | |s1= positions [[inAreaArrayIndexes]] area |
Revision as of 12:59, 14 May 2024
Description
- Description:
- Returns indices of positions that are within the provided area.
- Groups:
- TriggersMarkersLocationsPositionsGroups
Syntax
- Syntax:
- positions inAreaArrayIndexes area
- Parameters:
- positions: Array of Objects and/or Positions and/or Locations and/or Strings and/or Groups, where:
- area: Array or Object or Location or String, where:
- Return Value:
- Array of Numbers - indices of positions's matching elements
Examples
- Example 1:
Additional Information
- See also:
- inAreaArray inArea triggerArea
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