NPC:SetMyFacingAngle
Description:
Function NPC:SetMyFacingAngle set the NPC's facing angle.
Function NPC:SetMyFacingAngle was added in 0.3a and will not work in earlier versions! |
Parameters:
(Float:Angel)
float | Angel | The new NPC's facing angle. |
Return Values:
This function does not return any specific values.
Examples:
/* north (0) | (90) west- -east (270) | south (180) */ SetMyFacingAngle(0); //NPC faces north
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- NPC:GetMyFacingAngle: Get the current facing angle of the NPC.