Difference between revisions of "EffectDamage"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(fix missing return description, defaults)
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=EffectDamage
 
|name=EffectDamage
Line 9: Line 8:
 
|param2name=nDamageType
 
|param2name=nDamageType
 
|param2desc=Damage Type to be applied (Physical, Fire):  Default of 1 is physical
 
|param2desc=Damage Type to be applied (Physical, Fire):  Default of 1 is physical
 +
|param2default=1
 
|param3type=int
 
|param3type=int
 
|param3name=nFlags
 
|param3name=nFlags
 
|param3desc=Special behavior bitfield:  Default is no flags (0)
 
|param3desc=Special behavior bitfield:  Default is no flags (0)
 +
|param3default=0
 
|param4type=int
 
|param4type=int
 
|param4name=nImpactVFX
 
|param4name=nImpactVFX
 
|param4desc=Impact VFX to play.  Default of 0 is no impact VFX
 
|param4desc=Impact VFX to play.  Default of 0 is no impact VFX
 +
|param4default=0
 
|returntype=effect
 
|returntype=effect
|returndesc=
+
|returndesc=an [[effect]] to deliver the damage indicated.
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=

Revision as of 01:18, 31 July 2009

EffectDamage Constructor.

effect EffectDamage(
float fValue,
int nDamageType = 1,
int nFlags = 0,
int nImpactVFX = 0
);
Parameters:
fValue
Amount of damage to be applied
nDamageType
Damage Type to be applied (Physical, Fire): Default of 1 is physical
nFlags
Special behavior bitfield: Default is no flags (0)
nImpactVFX
Impact VFX to play. Default of 0 is no impact VFX
Returns:

an effect to deliver the damage indicated.

Source:

script.ldf

Description

EffectDamage Constructor