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