Difference between revisions of "EffectDamage"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) (fix missing return description, defaults) |
||
Line 1: | Line 1: | ||
− | |||
{{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.
- 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