(Official) LUA Scripting Documentation
get_eye_pos
Get the current world eye position of the context actor (camera position).
Spec:
get_eye_pos()
Returns
double
: The x component of the positiondouble
: The y component of the positiondouble
: The z component of the position
The position components are world space coordinates so they are floating point numbers. The position is the actors eye position. If the actor is a player, then this is equivalent to the players camera position
Incomplete
This documentation is incomplete