Anvil
Anvil.API.Events.CreatureEvents.OnDeath Class Reference

Triggered by NwCreature when killed by NwGameObject. More...

+ Inheritance diagram for Anvil.API.Events.CreatureEvents.OnDeath:
+ Collaboration diagram for Anvil.API.Events.CreatureEvents.OnDeath:

Properties

NwCreature KilledCreature = NWScript.OBJECT_SELF.ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that is killed. More...
 
NwObjectKiller = NWScript.GetLastKiller().ToNwObject() [get]
 Gets the NwGameObject that killed NwCreature. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Triggered by NwCreature when killed by NwGameObject.

Property Documentation

◆ KilledCreature

NwCreature Anvil.API.Events.CreatureEvents.OnDeath.KilledCreature = NWScript.OBJECT_SELF.ToNwObject<NwCreature>()!
get

Gets the NwCreature that is killed.

◆ Killer

NwObject? Anvil.API.Events.CreatureEvents.OnDeath.Killer = NWScript.GetLastKiller().ToNwObject()
get

Gets the NwGameObject that killed NwCreature.


The documentation for this class was generated from the following file: