Anvil
Anvil.API.Events.PlaceableEvents.OnOpen Class Reference

Called when NwPlaceable has been opened. More...

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

Properties

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

Detailed Description

Called when NwPlaceable has been opened.

Property Documentation

◆ OpenedBy

NwCreature? Anvil.API.Events.PlaceableEvents.OnOpen.OpenedBy = NWScript.GetLastOpenedBy().ToNwObject<NwCreature>()
get

Gets the NwCreature that opened the NwPlaceable.

◆ Placeable

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

Gets the NwPlaceable that was opened.


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