Difference between revisions of "Ability ApplyEffectOnObjectArray"
From Dragon Age Toolset Wiki
m (Updating links) |
m |
||
Line 14: | Line 14: | ||
|param4type = float | |param4type = float | ||
|param4name = fDuration | |param4name = fDuration | ||
− | |param4desc = | + | |param4desc = the duration in seconds (only required when nDurationType is [[EFFECT_DURATION_TYPE_*|EFFECT_DURATION_TYPE_TEMPORARY]]) |
|param4default = 0.0 | |param4default = 0.0 | ||
|param5type = object | |param5type = object | ||
Line 22: | Line 22: | ||
|param6type = int | |param6type = int | ||
|param6name = nAbilityId | |param6name = nAbilityId | ||
− | |param6desc = The ability ID of the effect ( | + | |param6desc = The ability ID of the effect (important for dispelling) |
|param6default = 0 | |param6default = 0 | ||
|param7type = int | |param7type = int |
Latest revision as of 20:34, 3 August 2011
Wrapper for ApplyEffectOnObject on an array of Objects
void Ability_ApplyEffectOnObjectArray(
int nDurationType,
effect eEffect,
object[] arTarget,
float fDuration = 0.0,
object oCreator = OBJECT_SELF,
int nAbilityId = 0,
int bSendAttackedEvent = FALSE,
int bPreventStacking = TRUE,
int bExcludeCreator = FALSE
);
int nDurationType,
effect eEffect,
object[] arTarget,
float fDuration = 0.0,
object oCreator = OBJECT_SELF,
int nAbilityId = 0,
int bSendAttackedEvent = FALSE,
int bPreventStacking = TRUE,
int bExcludeCreator = FALSE
);
- Parameters:
- nDurationType
- EFFECT_DURATION_TYPE_PERMANENT, EFFECT_DURATION_TYPE_INSTANT or EFFECT_DURATION_TYPE_TEMPORARY
- eEffect
- the effect to be applied
- arTarget
- the targets of the effect
- fDuration
- the duration in seconds (only required when nDurationType is EFFECT_DURATION_TYPE_TEMPORARY)
- oCreator
- effect creator
- nAbilityId
- The ability ID of the effect (important for dispelling)
- bSendAttackedEvent
- Whether to send an attacked event as well.
- bPreventStacking
- Prevent Stacking?.
- bExcludeCreator
- [Undocumented]
- Returns:
- Nothing.
- Source:
- Core Game Resources.ability_h