Tes3Mod:Face

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


Face

                Face, Angle, Time (unconfirmed)
        or      Face, X, Y (??)

       Where:   Angle = The final Z-angle you want the object to face.
                Time  = How fast the object rotates?
                X, Y  = Coordinate you want the NPC to face.

        Type:   Movement, Undocumented

     Returns:   none

     Example:   

     Scripts:   karrodMovement

Possibly makes an NPC face a direction and how fast they turn that way. Apparently interrupts current animations. I've used to on Wandering NPCs and they stop, Face wherever, then continue on wherever they were wandering to as soon as the Facing movement is over. Call only once unlike the Rotate type functions.

This function may be partially or entirely broken.