Difference between revisions of "RemoveSpell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Aubray1741
imported>JOG
(Another example)
Line 3: Line 3:
'''Syntax:'''
'''Syntax:'''
  RemoveSpell SpellID
  RemoveSpell SpellID
'''Example:'''
 
'''Examples:'''
  RemoveSpell DisTickleBritch
  RemoveSpell DisTickleBritch
If Removespell WeirdAbility == 0  ; Toggle Ability on/off
  Addspell WeirdAbility
Endif
==See Also==
==See Also==
[[AddSpell]]
[[AddSpell]]

Revision as of 04:15, 28 May 2006

Removes the specified spell from the caller's spell list. This function returns 1 if the spell is successfully removed from the caller, and 0 if the spell cannot be removed (e.g. if they don't have the spell in their spell list in the first place)

Syntax:

RemoveSpell SpellID

Examples:

RemoveSpell DisTickleBritch
If Removespell WeirdAbility == 0  ; Toggle Ability on/off
  Addspell WeirdAbility
Endif


See Also

AddSpell