Anvil
Anvil.API.Events.CreatureEvents.OnDisturbed Class Reference

Triggered by NwCreature when its inventory has been disturbed. More...

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

Properties

NwCreature CreatureDisturbed = NWScript.OBJECT_SELF.ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that had its inventory disturbed. More...
 
NwItem DisturbedItem = NWScript.GetInventoryDisturbItem().ToNwObject<NwItem>()! [get]
 Gets the NwItem that was disturbed in the inventory. More...
 
NwCreature Disturber = NWScript.GetLastDisturbed().ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that disturbed another NwCreature inventory. More...
 
InventoryDisturbType DisturbType = (InventoryDisturbType)NWScript.GetInventoryDisturbType() [get]
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Triggered by NwCreature when its inventory has been disturbed.

Property Documentation

◆ CreatureDisturbed

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

Gets the NwCreature that had its inventory disturbed.

◆ DisturbedItem

NwItem Anvil.API.Events.CreatureEvents.OnDisturbed.DisturbedItem = NWScript.GetInventoryDisturbItem().ToNwObject<NwItem>()!
get

Gets the NwItem that was disturbed in the inventory.

◆ Disturber

NwCreature Anvil.API.Events.CreatureEvents.OnDisturbed.Disturber = NWScript.GetLastDisturbed().ToNwObject<NwCreature>()!
get

Gets the NwCreature that disturbed another NwCreature inventory.


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