武装突袭 Wiki
註冊
Advertisement
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Returns the SQUARE of the distance between the two objects or positions "as the crow flies" (ignoring elevation).
Arma 3 logo black This function became obsolete with the introduction of distanceSqr
Parameters:
Object or Position
Object or Position
Example 1:
[player, soldier_1] call BIS_fnc_distance2Dsqr
Example 2:
[[100,100,0],[0,0,0]] call BIS_fnc_distance2Dsqr
See also:
See also needed

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

Advertisement