terrainIntersectASL [pos1, pos2]

Operand types

[pos1, pos2] : Array

Type of returned value

Description

Checks for intersection of terrain between two positions. Returns true if intersects with terrain.
Uses PositionASL

pos1: PositionASL
pos2: PositionASL

Used In

Arma2OA

Example

terrainIntersectASL [getPosASL player, getPosASL chopper]
Search OFPEC COMREF