Anvil
Anvil.API.Events.PlaceableEvents.OnDeath Class Reference

Called when NwCreature has destroyed NwPlaceable. More...

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

Properties

NwPlaceable KilledObject = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()! [get]
 Gets the NwPlaceable that was destroyed. More...
 
NwCreatureKiller = NWScript.GetLastKiller().ToNwObject<NwCreature>() [get]
 Gets the NwCreature that destroyed the NwPlaceable. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when NwCreature has destroyed NwPlaceable.

Property Documentation

◆ KilledObject

NwPlaceable Anvil.API.Events.PlaceableEvents.OnDeath.KilledObject = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()!
get

Gets the NwPlaceable that was destroyed.

◆ Killer

NwCreature? Anvil.API.Events.PlaceableEvents.OnDeath.Killer = NWScript.GetLastKiller().ToNwObject<NwCreature>()
get

Gets the NwCreature that destroyed the NwPlaceable.


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