Anvil
Anvil.API.Events.CreatureEvents.OnPhysicalAttacked Class Reference

Triggered by NwCreature when physically attacked by another NwCreature. More...

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

Properties

NwCreature Attacker = NWScript.GetLastAttacker().ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that physically attacked NwCreature. More...
 
NwCreature Creature = NWScript.OBJECT_SELF.ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that was physically attacked. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Triggered by NwCreature when physically attacked by another NwCreature.

Property Documentation

◆ Attacker

NwCreature Anvil.API.Events.CreatureEvents.OnPhysicalAttacked.Attacker = NWScript.GetLastAttacker().ToNwObject<NwCreature>()!
get

Gets the NwCreature that physically attacked NwCreature.

◆ Creature

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

Gets the NwCreature that was physically attacked.


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