SetNPCRagdoll: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
{{FuncParam|bEnable|'''true''' to enable.}} | {{FuncParam|bEnable|'''true''' to enable.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true''' on success.}} | ||
== Example == | == Example == |
Revision as of 14:19, 23 November 2019
Description
Set the NPC's ragdoll status.
Syntax
SetNPCRagdoll(npcid, bEnable)
Parameters
- npcid
The NPC identifier. - bEnable
true to enable.
Return Value
- Returns true on success.
Example
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