[dismiss]
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
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''. | [''ActorID''].Dispel ''MagicID'' | ||
''' | '''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== |