Difference between revisions of "GetSpellSchool"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(New page: A command for Oblivion Script Extender '''Syntax:''' (magicSchool:short) GetSpellSchool spell:ref Returns the school of the spell, determined by t...)
 
imported>Quetzilla
Line 5: Line 5:


Returns the school of the spell, determined by the most expensive effect item.
Returns the school of the spell, determined by the most expensive effect item.
==Notes==
* Will return 0 if passed an enchantment instead of a spell


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

Revision as of 04:14, 10 February 2008

A command for Oblivion Script Extender

Syntax:

(magicSchool:short) GetSpellSchool spell:ref

Returns the school of the spell, determined by the most expensive effect item.

Notes

  • Will return 0 if passed an enchantment instead of a spell