Lua GetO

From ArcEmu-Wiki
Jump to: navigation, search

Usage

   :GetO() - No Arguments

Description

Returns the oriantation.

Example

    function SomeUnit_SomeFunction(Unit) 
        x = Unit:GetX() 
        y = Unit:GetY()
        z = Unit:GetZ()
        o = Unit:GetO()
        print "Positon of the Unit:"
        print x,y,z,o
    end
Personal tools