inAreaArrayIndexes: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
No edit summary |
||
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]], all positions sent to this command are treated as [[Position#PositionASL|PositionASL]].}} | ||
|s1= positions [[inAreaArrayIndexes]] area | |s1= positions [[inAreaArrayIndexes]] area |
Revision as of 09:32, 29 June 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