Difference between revisions of "EffectImpact"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
m (Correcting category) |
||
(One intermediate revision by one other user not shown) | |||
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= | ||
}} | }} | ||
− | |||
== 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: | + | [[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.