Anvil
Anvil.API.Events.PlaceableEvents.OnTrapTriggered Class Reference

Called when NwPlaceable has a trap triggered. More...

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

Properties

NwPlaceable Placeable = NWScript.OBJECT_SELF.ToNwObject<NwPlaceable>()! [get]
 Gets the NwPlaceable that had a trap triggered. More...
 
NwGameObject TriggeredBy = NWScript.GetEnteringObject().ToNwObject<NwGameObject>()! [get]
 Gets the NwGameObject that triggered this trap. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when NwPlaceable has a trap triggered.

Property Documentation

◆ Placeable

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

Gets the NwPlaceable that had a trap triggered.

◆ TriggeredBy

NwGameObject Anvil.API.Events.PlaceableEvents.OnTrapTriggered.TriggeredBy = NWScript.GetEnteringObject().ToNwObject<NwGameObject>()!
get

Gets the NwGameObject that triggered this trap.


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