NPC:GetMyFacingAngle
Description:
Function NPC:GetMyFacingAngle get the current facing angle of the NPC.
Function NPC:GetMyFacingAngle was added in 0.3a and will not work in earlier versions! |
Parameters:
(Float:Angle)
float | Angle | A float to save the angle in, passed by reference. |
Return Values:
The facing angle is stored in the specified variable.
Examples:
new Float:Angle; GetMyFacingAngle(Angle); printf("I am currently facing %f!", Angle);
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- NPC:SetMyFacingAngle: Set the NPC's facing angle.