Difference between revisions of "RemoveSpell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>RobRendell
(Added a comment about the return value of RemoveSpell, which actually returns something useful.)
imported>Aubray1741
Line 1: Line 1:
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:'''
'''Syntax:'''
  RemoveSpell SpellID
  RemoveSpell SpellID
'''Example:'''
'''Example:'''
  RemoveSpell DisTickleBritch
  RemoveSpell DisTickleBritch
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)
==See Also==
==See Also==
[[AddSpell]]
[[AddSpell]]


[[Category: Functions]]
[[Category: Functions]]
[[Category: Magic Functions]]
[[Category: Magic Functions]]

Revision as of 10:40, 7 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

Example:

RemoveSpell DisTickleBritch

See Also

AddSpell