SetNPCRagdoll

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
SetNPCRagdoll

Type: Function
Context: Server
Introduced: v1.0

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

SetNPCRagdoll(npcid, true)

See also