Difference between revisions of "EffectImpact"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) |
m (Correcting category) |
||
Line 27: | Line 27: | ||
|sourcemodule= | |sourcemodule= | ||
}} | }} | ||
− | |||
== Description == | == Description == | ||
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | ||
EffectImpact Constructor. | EffectImpact Constructor. | ||
− | |||
<!-- == Remarks == --> | <!-- == Remarks == --> | ||
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
− | |||
<!-- == Examples == --> | <!-- == Examples == --> | ||
<!-- This section contains examples transcluded from the snippet library. --> | <!-- This section contains examples transcluded from the snippet library. --> | ||
− | |||
<!-- == See also == --> | <!-- == See also == --> | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
− | [[Category:Effect | + | [[Category:Effect functions]] |
Latest revision as of 20:02, 10 March 2012
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.