NWNX:EE  8193.36.12
nwnx_damage.nss File Reference
#include "nwnx"

Go to the source code of this file.

Classes

struct  NWNX_Damage_DamageEventData
 Damage Event Data. More...
 
struct  NWNX_Damage_AttackEventData
 Attack Event Data. More...
 
struct  NWNX_Damage_DamageData
 Used for DealDamage. More...
 

Functions

void NWNX_Damage_SetDamageEventScript (string sScript, object oOwner=OBJECT_INVALID)
 Sets the script to run with a damage event. More...
 
struct NWNX_Damage_DamageEventData NWNX_Damage_GetDamageEventData ()
 Get Damage Event Data. More...
 
void NWNX_Damage_SetDamageEventData (struct NWNX_Damage_DamageEventData data)
 Set Damage Event Data. More...
 
void NWNX_Damage_SetAttackEventScript (string sScript, object oOwner=OBJECT_INVALID)
 Sets the script to run with an attack event. More...
 
struct NWNX_Damage_AttackEventData NWNX_Damage_GetAttackEventData ()
 Get Attack Event Data. More...
 
void NWNX_Damage_SetAttackEventData (struct NWNX_Damage_AttackEventData data)
 Set Attack Event Data. More...
 
void NWNX_Damage_DealDamage (struct NWNX_Damage_DamageData data, object oTarget, object oSource=OBJECT_SELF, int iRanged=FALSE)
 Deal damage to a target. More...