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

value1 distanceSqr value2

Operand types

value1: Object
value2: Object

Type of returned value

Description

Computes the squared distance between two objects.

Used In

Arma3

Example

player distanceSqr (leader player);

Advertisement