This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "Dispel"

Jump to navigation Jump to search
362 bytes added ,  23:12, 14 July 2006
Added a small remark about this function's behaviour.
imported>JOG
imported>Gamall
(Added a small remark about this function's behaviour.)
Line 1: Line 1:
'''Syntax:'''  
'''Syntax:'''  
  [''ActorID''.]Dispel ''MagicID''
  [''ActorID''].Dispel ''MagicID''
'''Example:'''
'''Examples:'''
  Dispel ShrineAkatoshSpeedMagicka
  Dispel ShrineAkatoshSpeedMagicka
NPCRef.Dispel ShrineAkatoshSpeedMagicka


Removes specified spell/magic that is affecting an actor.
Removes specified spell/magic that is affecting an actor.
----
Note that it can and will act as a ''return'' statement if you attempt to dispel the spell you are currently scripting. For instance, in the following example, the ''messagebox'' will never show up.
scn EXSpellScript
Begin ScriptEffectFinish
    player.dispel EXSpell
    messagebox "Will not be seen !"
End


==See Also==
==See Also==
Anonymous user

Navigation menu