RemoveAllEffects

From Dragon Age Toolset Wiki
Revision as of 19:01, 10 March 2012 by Sunjammer (Talk | contribs) (Correcting category)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.