terrainIntersectAtASL

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.68
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.68

Description

Description:
Checks for intersection of terrain between two ASL positions. Same as terrainIntersectASL, only returns intersect position instead of Boolean

Syntax

Syntax:
terrainIntersectAtASL [pos1, pos2]
Parameters:
[pos1, pos2]: Array
pos1: Array - start position in format PositionASL
pos2: Array - end position in format PositionASL
Return Value:
Array - intersect position in format PositionASL

Examples

Example 1:
_posASL = terrainIntersectAtASL [eyePos player, getPosASL chopper];

Additional Information

Multiplayer:
-
See also:
terrainIntersectASLlineIntersectsSurfacesintersectlineIntersectslineIntersectsWithterrainIntersectlineIntersectsObjscheckVisibility

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section