terrainIntersectAtASL: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.67|= Game version ______________...") |
Killzone Kid (talk | contribs) (format) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Checks for intersection of terrain between two ASL positions. Same as [[terrainIntersectASL]], only returns intersect position instead of | | Checks for intersection of terrain between two ASL positions. Same as [[terrainIntersectASL]], only returns intersect position instead of [[Boolean]] |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''terrainIntersectAtASL''' [pos1, pos2] |= Syntax | | '''terrainIntersectAtASL''' [pos1, pos2] |= Syntax | ||
|p1= pos1: [[Array]] - start position in format [[PositionASL]]|= Parameter | |p1= [pos1, pos2]: [[Array]]|= Parameter 1 | ||
| | |p2= pos1: [[Array]] - start position in format [[PositionASL]]|= Parameter 2 | ||
|p3= pos2: [[Array]] - end position in format [[PositionASL]]|= Parameter 3 | |||
| [[Array]] - intersect position in format [[PositionASL]] |= Return value | | [[Array]] - intersect position in format [[PositionASL]] |= Return value |
Revision as of 10:19, 9 December 2016
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
[[Category:Introduced with arma3dev version 1.67]][[ Category: arma3dev: New Scripting Commands | TERRAININTERSECTATASL]][[ Category: arma3dev: Scripting Commands | TERRAININTERSECTATASL]]