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
vectorDistance - OFPEC Scripting Command Reference | OFPEC The Editing Center

vector1 vectorDistance vector2

Operand types

vector1: Array
vector2: Array

Type of returned value

Description

Distance between two 3D vectors.

Used In

Arma3

Example

(getPosASL _a) vectorDistance (getPosASL _b);

Advertisement