RotateActor
Usage:
RotateActor(Actor, Angle)
Description:
The RotateActor command sets an actor's exact orientation. This is useful in NPC spawn scripts to set an direction for non-moving NPCs to face. Values should be between -180 and 180.
Example:
Function Main()
Result = RotateActor(Actor(), 0)
Output(Actor(), "Returned to default orientation")
Return()
End Function
Comments (0)
You don't have permission to comment on this page.