Difference between revisions of "RemoveAllEffects"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: re-import with default parameter value parameters set)
(remove tag, add {{undocumented}} for the ability ID range)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=RemoveAllEffects
 
|name=RemoveAllEffects
Line 9: Line 8:
 
|param2type=int
 
|param2type=int
 
|param2name=bIgnoreInjuries
 
|param2name=bIgnoreInjuries
|param2desc=Don't remove effects that are due to injuries (that are within a certain ability id range)
+
|param2desc=Don't remove effects that are due to injuries (that are within a certain ability id range{{undocumented}})
 
|param2default=TRUE
 
|param2default=TRUE
 
|param3type=int
 
|param3type=int

Revision as of 00:17, 20 February 2010

Remove all effects on an object with certain limitations

void RemoveAllEffects(
object oTarget,
int bIgnoreInjuries = TRUE,
int bDeath = FALSE
);
Parameters:
oTarget
The object to remove the effect from
bIgnoreInjuries
Don't remove effects that are due to injuries (that are within a certain ability id range[Undocumented])
bDeath
Don't remove effects that ignore death (use this when removing effects on a creature due to it dying)
Returns:

Nothing.

Source:

script.ldf

Description

Removes all the effects on an object. You can exclude effects due to injuries and effects that ignore death.