Difference between revisions of "ApplyEffectVisualEffect"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) m (remove generated) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=ApplyEffectVisualEffect | |name=ApplyEffectVisualEffect | ||
Line 6: | Line 5: | ||
|param1name=oCreator | |param1name=oCreator | ||
|param1desc=The object creating the visual effect | |param1desc=The object creating the visual effect | ||
+ | |param1default= | ||
|param2type=object | |param2type=object | ||
|param2name=oTarget | |param2name=oTarget | ||
|param2desc=The object receiving the visual effect | |param2desc=The object receiving the visual effect | ||
+ | |param2default= | ||
|param3type=int | |param3type=int | ||
|param3name=nVFXId | |param3name=nVFXId | ||
|param3desc=The Id of the visual effect | |param3desc=The Id of the visual effect | ||
+ | |param3default= | ||
|param4type=int | |param4type=int | ||
|param4name=nDurationType | |param4name=nDurationType | ||
|param4desc=Temporary, instant, permanent, etc | |param4desc=Temporary, instant, permanent, etc | ||
+ | |param4default= | ||
|param5type=float | |param5type=float | ||
|param5name=fDuration | |param5name=fDuration | ||
|param5desc=Duration of the effect, depending on the type | |param5desc=Duration of the effect, depending on the type | ||
+ | |param5default= | ||
|param6type=int | |param6type=int | ||
|param6name=nAbilityId | |param6name=nAbilityId | ||
|param6desc=The ability ID this effect is linked to (if applied by an ability) | |param6desc=The ability ID this effect is linked to (if applied by an ability) | ||
+ | |param6default=ABILITY_INVALID | ||
|returntype=void | |returntype=void | ||
|returndesc= | |returndesc= |
Latest revision as of 22:02, 9 February 2010
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.