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

eyeDirection unitName

Operand types

unitName: Object

Type of returned value

Description

Returns the direction vector the object is watching to (eyes, or a vehicle primary observer).

Eyes might be a bit misleading as it's face direction at least when using a soldier.

Used In

Arma3

Example

hint str(eyeDirection player)

Advertisement