Effect
From Dragon Age Toolset Wiki
Basic effect constructor.
- Parameters:
- nType
- an EFFECT_TYPE_* constant or literal
- Returns:
- a blank effect
- Source:
- script.ldf
Description
Creates an basic effect of the specified type.
Remarks
The basic effect constructor can be used to create any type of effect however it does not set any of the effect's other parameters so the effect returned may be incomplete. If an effect has additional parameters these would have to be set using SetEffectFloat, SetEffectInteger, etc. Therefore, for pre-existing effects such as damage or heal it is better to use the appropriate constructor, namely, EffectDamage or EffectHeal.