Difference between revisions of "GetAttackImpactDamageEffect"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(fill in missing field)
 
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetAttackImpactDamageEffect
 
|name=GetAttackImpactDamageEffect
Line 10: Line 9:
 
|param2desc=the id of the damage effect to get (this id is passed in the ATTACK_IMPACT event)
 
|param2desc=the id of the damage effect to get (this id is passed in the ATTACK_IMPACT event)
 
|returntype=effect
 
|returntype=effect
|returndesc=
+
|returndesc=damage effect associated with an attack
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=

Latest revision as of 17:51, 1 March 2010

This function retrieves a damage effect associated with an attack

effect GetAttackImpactDamageEffect(
object oAttacker,
int nDamageEffectId
);
Parameters:
oAttacker
the creature whose attack damage effect we are retrieving
nDamageEffectId
the id of the damage effect to get (this id is passed in the ATTACK_IMPACT event)
Returns:

damage effect associated with an attack

Source:

script.ldf