SetNPCHeading
From Onset Developer Wiki
Description
Set's the specified NPC's heading (rotation).
Syntax
SetNPCHeading(npc, heading)
Parameters
- npc
The Npc identifier. - heading
The heading in floats.
Return Value
- This function true on success.
Example
SetNPCHeading(npcId, 90.0)
See also
- GetStreamedNPC
- GetNPCLocation
- SetNPCOutline
- SetNPCPropertyValue
- GetNPCPropertyValue
- CreateNPC
- DestroyNPC
- IsValidNPC
- GetAllNPC
- GetNPCCount
- IsNPCStreamedIn
- SetNPCLocation
- GetNPCLocation
- SetNPCHealth
- GetNPCHealth
- SetNPCAnimation
- SetNPCHeading
- GetNPCHeading
- SetNPCTargetLocation
- SetNPCFollowPlayer
- SetNPCFollowVehicle
- SetNPCRagdoll
- SetNPCRespawnTime