Anvil
Anvil.API.Events.TriggerEvents.OnTrapTriggered Class Reference
+ Inheritance diagram for Anvil.API.Events.TriggerEvents.OnTrapTriggered:
+ Collaboration diagram for Anvil.API.Events.TriggerEvents.OnTrapTriggered:

Properties

NwTrigger Trigger = NWScript.OBJECT_SELF.ToNwObject<NwTrigger>()! [get]
 Gets the NwTrigger that was triggered. More...
 
NwGameObject TriggeredBy = NWScript.GetEnteringObject().ToNwObject<NwGameObject>()! [get]
 Gets the NwGameObject that triggered this NwTrigger. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Property Documentation

◆ Trigger

NwTrigger Anvil.API.Events.TriggerEvents.OnTrapTriggered.Trigger = NWScript.OBJECT_SELF.ToNwObject<NwTrigger>()!
get

Gets the NwTrigger that was triggered.

◆ TriggeredBy

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

Gets the NwGameObject that triggered this NwTrigger.


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