DispelNthActiveEffect

From the Oblivion ConstructionSet Wiki
Revision as of 23:41, 8 August 2010 by imported>CSbot (Automated import of articles)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(effectWasRemoved:bool) reference.DispelNthActiveEffect whichEffect:short 
(effectWasRemoved:bool) reference.DispelNthAE whichEffect:short

Dispels the effects of the specified active effect and removes it from the actor's active effect list. Note that the effect will not be removed until the next gamemode frame, so the indexes into an actor's effect list do not change immediately.