Difference between revisions of "RemoveSpell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Maturin
 
imported>RobRendell
(Added a comment about the return value of RemoveSpell, which actually returns something useful.)
Line 5: Line 5:




Removes the specified spell from the caller's spell list.
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==

Revision as of 05:35, 23 April 2006

Syntax:

RemoveSpell SpellID

Example:

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

AddSpell