Warning: file_put_contents(/ff_f5d32caa9977b7446131e4c4ca08b6fbe568f1161e2ee20b.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
distance2D - OFPEC Scripting Command Reference | OFPEC The Editing Center

a distance2D b

Operand types

a:
b:

Type of returned value

Description

Returns a 2D distance (distance projected to X,Y plane) in meters between two Objects or two Positions or Object and Position.

Used In

Arma3

Example

_meters = player distance2D helo1;

Advertisement