GetNthEffectItemScriptSchool
Jump to navigation
Jump to search
A command for Oblivion Script Extender
Syntax:
(magicSchool:short) GetNthEffectItemScriptSchool magicItem:ref whichEffect:short
(magicSchool:short) GetNthEISSchool magicItem:ref whichEffect:short
Returns the school of the scripted effect item.
Magic School Codes[edit | edit source]
The following values are shorts that are used and/or returned by this function, as indicated by its Syntax. These values correspond to the listed school of magic:
0: Alteration 1: Conjuration 2: Destruction 3: Illusion 4: Mysticism 5: Restoration