Anvil
Anvil.API.Events.DoorEvents.OnPhysicalAttacked Class Reference
+ Inheritance diagram for Anvil.API.Events.DoorEvents.OnPhysicalAttacked:
+ Collaboration diagram for Anvil.API.Events.DoorEvents.OnPhysicalAttacked:

Public Member Functions

ActionMode AttackMode (NwCreature attacker)
 Gets the ActionMode used to damage NwDoor. More...
 
NwItem WeaponUsed (NwCreature attacker)
 Gets the NwItem used to damage NwDoor. More...
 

Properties

NwCreature Attacker = NWScript.GetLastAttacker().ToNwObject<NwCreature>()! [get]
 Gets the NwCreature that attacked the NwDoor. More...
 
SpecialAttack AttackType = (SpecialAttack)NWScript.GetLastAttackType() [get]
 Gets the SpecialAttack used to damage NwDoor. More...
 
NwDoor Door = NWScript.OBJECT_SELF.ToNwObject<NwDoor>()! [get]
 Gets the NwDoor that was physically attacked. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Member Function Documentation

◆ AttackMode()

ActionMode Anvil.API.Events.DoorEvents.OnPhysicalAttacked.AttackMode ( NwCreature  attacker)
inline

Gets the ActionMode used to damage NwDoor.

◆ WeaponUsed()

NwItem Anvil.API.Events.DoorEvents.OnPhysicalAttacked.WeaponUsed ( NwCreature  attacker)
inline

Gets the NwItem used to damage NwDoor.

Property Documentation

◆ Attacker

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

Gets the NwCreature that attacked the NwDoor.

◆ AttackType

SpecialAttack Anvil.API.Events.DoorEvents.OnPhysicalAttacked.AttackType = (SpecialAttack)NWScript.GetLastAttackType()
get

Gets the SpecialAttack used to damage NwDoor.

◆ Door

NwDoor Anvil.API.Events.DoorEvents.OnPhysicalAttacked.Door = NWScript.OBJECT_SELF.ToNwObject<NwDoor>()!
get

Gets the NwDoor that was physically attacked.


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