ApplyEffectVisualEffect

From Dragon Age Toolset Wiki
Revision as of 22:02, 9 February 2010 by BryanDerksen (Talk | contribs) (remove generated)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Applies a visual effect to a target object.

void ApplyEffectVisualEffect(
object oCreator,
object oTarget,
int nVFXId,
int nDurationType,
float fDuration,
int nAbilityId = ABILITY_INVALID
);
Parameters:
oCreator
The object creating the visual effect
oTarget
The object receiving the visual effect
nVFXId
The Id of the visual effect
nDurationType
Temporary, instant, permanent, etc
fDuration
Duration of the effect, depending on the type
nAbilityId
The ability ID this effect is linked to (if applied by an ability)
Returns:

Nothing.

Source:

script.ldf

Description

Applies a visual effect to a target object.