GetSpellSchool

From the Oblivion ConstructionSet Wiki
Revision as of 21:55, 21 March 2008 by imported>DragoonWraith (not a record variable function)
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