Warning: file_put_contents(/ff_1a08f7290967116cea5e6d205e31c62a39f1fa62f57e711f.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: Array
value2: Array

Type of returned value

Description

Computes the squared distance between positions.

Used In

Arma3

Example

(position player) distanceSqr (position e_tank);

Advertisement