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

vector1 vectorCos vector2

Operand types

vector1: Array
vector2: Array

Type of returned value

Description

Cosine of angle between two 3D vectors.

Used In

Arma3

Example

_cos = getPos player vectorCos [0,0,2];

Advertisement