From Bohemia Interactive Community
Hover & click on the images for description
⚠
Only available in
Development branch(es) until its release with Arma 3 patch
v2.14.
Description
- Description:
- Checks if positions given in Array of positions are within the given area and returns the indexes of matching elements.
- Groups:
- TriggersMarkersLocationsGroups
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:
- Array - in format [center, a, b, angle, isRectangle, c] or polygon in format [point1, point2, point2,...]
- Object - trigger
- Location - location
- String - marker
- Return Value:
- Array of Numbers - indexes of matching elements in 'positions' Array
Examples
- Example 1:
- Example 2:
- Example 3:
- Example 4:
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