NWNWiki
NWNWiki
3,718
pages
mNo edit summary
(PC -> creature & language cleanup)
 
Line 1: Line 1:
The '''OnPhysicalAttacked''' event is fired when a [[Player Character]] [[attack roll|attack]]s either a [[creature]], [[placeable]], or [[door]] (regardless of whether they cause damage with that attack).
+
The '''OnPhysicalAttacked''' event is fired when a [[creature]] physically [[attack roll|attack]]s a [[creature]], [[placeable]], or [[door]] (regardless of whether or not damage is caused by that attack).
 
   
 
==Objects which define this Event==
 
==Objects which define this Event==
Line 6: Line 5:
 
* [[Placeable event|Placeables]]
 
* [[Placeable event|Placeables]]
 
* [[Creature event|Creatures]]
 
* [[Creature event|Creatures]]
 
   
 
==Related Functions==
 
==Related Functions==
Line 15: Line 13:
 
* [http://www.nwnlexicon.com/compiled/function.getlastattacktype.html GetLastAttackType]
 
* [http://www.nwnlexicon.com/compiled/function.getlastattacktype.html GetLastAttackType]
 
* [http://www.nwnlexicon.com/compiled/function.determinecombatround.html DetermineCombatRound]
 
* [http://www.nwnlexicon.com/compiled/function.determinecombatround.html DetermineCombatRound]
 
 
[[Category:Events]][[Category:Door events]][[Category:Placeable events]][[Category:Creature events]]
 
[[Category:Events]][[Category:Door events]][[Category:Placeable events]][[Category:Creature events]]

Latest revision as of 09:46, 6 December 2012

The OnPhysicalAttacked event is fired when a creature physically attacks a creature, placeable, or door (regardless of whether or not damage is caused by that attack).

Objects which define this Event[]

Related Functions[]