ApplyEffectVisualEffect
From Dragon Age Toolset Wiki
Revision as of 23:37, 31 July 2009 by Sunjammer (Talk | contribs) (Generated by Sunjammer's Dragon Age Script Paser)
This page was generated by Sunjammer's Dragon Age Script Parser.
The parser extracted and matched all the information required to the best of its ability however the parser relies on the source file, and especially a function's comments, to be correctly formatted. If the source file was not correctly formatted the information presented may be incomplete.
This page should be reviewed by a knowledgeable scripter as it may require updating. If an issue with the source file is identified it should be reported to BioWare.
Please remove the {{Generated}} tag once the page has been confirmed or corrected.
Applies a visual effect to a target object.
void ApplyEffectVisualEffect(
object oCreator,
object oTarget,
int nVFXId,
int nDurationType,
float fDuration,
int nAbilityId = ABILITY_INVALID
);
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.