Difference between revisions of "Ability ApplyRandomDurationEffectOnObjectArray"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Updating link)
m
 
Line 23: Line 23:
 
|param6name    = oCreator
 
|param6name    = oCreator
 
|param6desc    = effect creator
 
|param6desc    = effect creator
|param6default  = [[OBJECT_SELF keyword]]
+
|param6default  = [[OBJECT_SELF keyword|OBJECT_SELF]]
 
|param7type    = int
 
|param7type    = int
 
|param7name    = nAbilityId  
 
|param7name    = nAbilityId  

Latest revision as of 20:23, 3 August 2011

Wrapper for ApplyEffectOnObject on an array of Objects

void Ability_ApplyRandomDurationEffectOnObjectArray(
int nDurationType,
effect eEffect,
object[] arTarget,
float fDurationMin = 0.0,
float fDurationMax = 0.0,
object oCreator = OBJECT_SELF,
int nAbilityId = 0,
int bSendAttackedEvent = FALSE,
int bPreventStacking = TRUE,
int bExcludeCreator = FALSE
);
Parameters:
nDurationType
will only accept EFFECT_DURATION_TYPE_TEMPORARY.
eEffect
the effect to be applied
arTarget
the targets of the effect
fDurationMin
minimum duration of the effect
fDurationMax
maximum duration of the effect
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



See also

Ability_ApplyEffectOnObjectArray