Tes3Mod:GetAngle

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


GetAngle

                GetAngle, Axis

       Where:   Axis = Which world axis to get the object's orientation (X, Y, or Z).
                                
        Type:   Movement

     Returns:   float

     Example:   if ( misc_com_wood_bowl_02->GetAngle, Z >= 180 )
                if ( GetAngle, Y < 0 )
                set TempFloat to ( GetAngle, X )

     Scripts:   cavein_script
                testmoverock

Returns a float value of the calling object's current orientation (in degrees) in the world along the specified axis.