武装突袭 Wiki
Advertisement
  

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2: Operation Arrowhead
版本:
1.62

描述

描述:
Checks for intersection of terrain between two positions. Returns true if intersects with terrain. Uses PositionAGL

基本句法

句法:
terrainIntersect [pos1, pos2]
参数:
pos1: PositionAGL
pos2: PositionAGL
返回值:
Boolean

范例

范例1:
terrainIntersect [getPosATL player, getPosATL chopper]
范例2:
_doesIntersect = terrainIntersect [ position player, position enemy1 ];

额外资讯

多人游戏:
-
也可以看看:
lineIntersectsSurfacesintersectlineIntersectslineIntersectsWithterrainIntersectASLlineIntersectsObjs

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Posted on may 31, 2012 - 10:40 (CEST)
Lou Montana
Please note the difference :
  • terrainIntersect
  • terrainIntersectASL
  • lineIntersects
  • lineIntersectsWith
  • lineIntersectsObjs
  • intersect
Posted on may 31, 2012 - 10:40 (CEST)
Rocket
This command is CPU intensive on the engine, be careful with its use.
Posted on Jun 23, 2012 - 17:15 (CEST)
Dwarden
This command was changed to ATL and counterpart for ASL was added in build 94049.

Bottom Section

Advertisement