Tes3Mod:SetAngle

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


SetAngle

                SetAngle, Axis, Angle

       Where:   Axis  = World axis to set the object's angle (X, Y, or Z)
                Angle = Angle in degrees to set (float). In Tribunal the function can accept
                        variable floats as well as literal values.

        Type:   Movement

     Returns:   none

     Example:   SetAngle, X, 45.0
                "Act_banner_Tel_Vos"->SetAngle, Z, 90
                SetAngle, Y, GetStartingAngle, Y
                SetAngle, Y, fValue                     (Tribunal only)

     Scripts:   SignRotate
                Dagoth_doors            

Sets the angle of the object in degrees using the given world axis. In Tribunal the function also accepts float variables in addition to literal values.

Setangle does not appear to work with actors. Consider using Face instead.