Difference between revisions of "EffectDamage"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
m (Correcting category) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=EffectDamage | |name=EffectDamage | ||
Line 6: | Line 5: | ||
|param1name=fValue | |param1name=fValue | ||
|param1desc=Amount of damage to be applied | |param1desc=Amount of damage to be applied | ||
+ | |param1default= | ||
|param2type=int | |param2type=int | ||
|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= | ||
}} | }} | ||
− | |||
== 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. --> | ||
EffectDamage Constructor | EffectDamage 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:05, 10 March 2012
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