Warning: file_put_contents(/ff_ee35352bc432d92e4169ae745026aa1fe09771891acf7a99.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