Difference between revisions of "EffectDamage"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Correcting category)
 
Line 23: Line 23:
 
|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:Effect access functions]]
+
[[Category:Effect functions]]

Latest revision as of 20:05, 10 March 2012

EffectDamage Constructor.

effect EffectDamage(
float fValue,
int nDamageType = 1,
int nFlags = 0,
int nImpactVFX = 0
);
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