GetSpellSchool

From the Oblivion ConstructionSet Wiki
Revision as of 04:14, 10 February 2008 by imported>Quetzilla
Jump to navigation Jump to search

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