SetNPCRagdoll: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Set the NPC's ragdoll status.}} {{FuncSyntax|SetNPCRagdoll(npcid, bStatus)}} {{FuncParameters}} {{FuncParam|npcid|The NPC ide..." |
No edit summary |
||
Line 3: | Line 3: | ||
{{FuncDescription|Set the NPC's ragdoll status.}} | {{FuncDescription|Set the NPC's ragdoll status.}} | ||
{{FuncSyntax|SetNPCRagdoll(npcid, | {{FuncSyntax|SetNPCRagdoll(npcid, bEnable)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|npcid|The NPC identifier.}} | {{FuncParam|npcid|The NPC identifier.}} | ||
{{FuncParam| | {{FuncParam|bEnable|'''true''' to enable.}} | ||
{{FuncReturnValue|__EDIT_ME__}} | {{FuncReturnValue|__EDIT_ME__}} |
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
- __EDIT_ME__
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