http://www.arma2.com/beta-patch.php
and some crash fixes[93294] Fixed: Multiple Object not found problems such as Server: Object 6:4 not found (message 124)
[93276] New: terrainIntersect command
[93273] New: lineIntersects, lineIntersectsWith commands
be aware that these commands below for LOS checking are computing extensive so use it with extreme caution and only when needed
terrainIntersect [ pos1, pos2 ]
Operand types:
pos1:
Array
pos2: Array
Type of returned value:
bool
Description:
Checks for intersection of terrain
between two positions. Returns true if intersects with terrain
Example:
Code:_doesIntersect = terrainIntersect [ position player, position enemy1 ];
too fresh to even find documentationeven sparse documentation for these two
"lineIntersects", LineIntersects, GameArray, "array", "Returns true, if line intersect with any object."
"lineIntersectsWith", LineIntersectsWith, GameArray, "array", "Returns list of objects intersected by given line."Code:lineIntersects > [begPos, endPos, withObj, ignoreObj]
both also available in TOH since build 81021Code:lineIntersectsWith [begPos, endPos, withObj, ignoreObj, sortByDist]
![]()
HOME 

Reply With Quote
I have been waiting for those so long. Thanks if true.






