Anvil
Anvil.API.Events.PlaceableEvents.OnUsed Class Reference

Called when NwPlaceable is being used. More...

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

Properties

NwPlaceable Placeable = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()! [get]
 Gets the NwPlaceable that was used. More...
 
NwCreature UsedBy = NWScript.GetLastUsedBy().ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that used NwPlaceable. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when NwPlaceable is being used.

Property Documentation

◆ Placeable

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

Gets the NwPlaceable that was used.

◆ UsedBy

NwCreature Anvil.API.Events.PlaceableEvents.OnUsed.UsedBy = NWScript.GetLastUsedBy().ToNwObject<NwCreature>()!
get

Gets the NwCreature that used NwPlaceable.


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