Method WorldObject:GetLocation [-] [+]

Returns the coordinates and orientation of the WorldObject

Synopsis

x, y, z, o = WorldObject:GetLocation()

Arguments

None.

Returns

number x

X coordinate of the WorldObject.

Valid numbers: all decimal numbers.

number y

Y coordinate of the WorldObject.

Valid numbers: all decimal numbers.

number z

Z coordinate (height) of the WorldObject.

Valid numbers: all decimal numbers.

number o

Facing / orientation of the WorldObject.

Valid numbers: all decimal numbers.

Generated on 11/04/2018
©2016 - Eluna Lua Engine