Difference between revisions of "EffectImpact"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
BryanDerksen (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=EffectImpact | |name=EffectImpact | ||
Line 24: | Line 23: | ||
|param5default=1 | |param5default=1 | ||
|returntype=effect | |returntype=effect | ||
− | |returndesc= | + | |returndesc=An impact effect |
|sourcefile=script.ldf | |sourcefile=script.ldf | ||
|sourcemodule= | |sourcemodule= | ||
Line 42: | Line 41: | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
− | [[Category: | + | [[Category:Effect access functions]] |
Revision as of 23:19, 15 January 2010
EffectImpact Constructor.
effect EffectImpact(
float fDamage,
object oWeapon,
int nVfx = 0,
int nAbi = 0,
int nDamageType = 1
);
float fDamage,
object oWeapon,
int nVfx = 0,
int nAbi = 0,
int nDamageType = 1
);
- Parameters:
- fDamage
- Amount of damage to be applied
- oWeapon
- Weapon that applies the damage
- nVfx
- Impact VFX to play. Default of 0 is no impact VFX
- nAbi
- Ability (default is invalid ability)
- nDamageType
- Damage Type to be applied (Physical, Fire): Default of 1 is physical
- Returns:
- An impact effect
- Source:
- script.ldf
Description
EffectImpact Constructor.