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)
Search OFPEC COMREF