terrainIntersectAtASL: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.68|Game version= | |1.68|Game version= |
Revision as of 22:49, 1 September 2019
Description
- Description:
- Checks for intersection of terrain between two ASL positions. Same as terrainIntersectASL, only returns intersect position instead of Boolean
- Groups:
- Uncategorised
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
- See also:
- terrainIntersectASLlineIntersectsSurfacesintersectlineIntersectslineIntersectsWithterrainIntersectlineIntersectsObjscheckVisibility
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