OnNPCDamage: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Event|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnNPCDamage}} {{FuncParameters}} == Example == __EDIT_ME__ {{RelatedFunctions}} {{ServerEvents}}" |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Event|Server|1.0}} | {{Info|Event|Server|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Event thats called when a NPC is damaged.}} | ||
{{FuncSyntax|OnNPCDamage}} | {{FuncSyntax|OnNPCDamage}} | ||
Line 10: | Line 10: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{ | {{Template:NPCFunctions}} |
Revision as of 07:00, 13 December 2019
Description
Event thats called when a NPC is damaged.
Syntax
OnNPCDamage
Parameters
Example
__EDIT_ME__
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