Anvil
Anvil.API.Events.CreatureEvents.OnPerception Class Reference

Triggered by NwCreature when its perception is triggered by another NwCreature. More...

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

Properties

NwCreature Creature = NWScript.OBJECT_SELF.ToNwObject<NwCreature>()! [get]
 Gets the NwCreature associated with the perception event. More...
 
NwCreature PerceivedCreature = NWScript.GetLastPerceived().ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that was perceived by NwCreature. More...
 
PerceptionEventType PerceptionEventType = GetPerceptionEventType() [get]
 Gets the PerceptionEventType event triggered. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Triggered by NwCreature when its perception is triggered by another NwCreature.

Property Documentation

◆ Creature

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

Gets the NwCreature associated with the perception event.

◆ PerceivedCreature

NwCreature Anvil.API.Events.CreatureEvents.OnPerception.PerceivedCreature = NWScript.GetLastPerceived().ToNwObject<NwCreature>()!
get

Gets the NwCreature that was perceived by NwCreature.

◆ PerceptionEventType

PerceptionEventType Anvil.API.Events.CreatureEvents.OnPerception.PerceptionEventType = GetPerceptionEventType()
get

Gets the PerceptionEventType event triggered.


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