ObjectRawPosition
Returns the raw position of a WowGameObject
.
ObjectRawPosition(--[[(1)]]objectReference) : x, y, z
- See Object Reference for more information on possible values.
Example
Get the players current position.
local x, y, z = ObjectRawPosition('player')
Do something with the position of all objects.
for i, object in ipairs(Objects()) do local x, y, z = ObjectRawPosition(object) -- do something with x, y, zend