SetNthEffectItemScriptSchool

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(nothing) SetNthEffectItemScriptSchool magicSchool:short magicItem:ref whichEffect:short
(nothing) SetNthEISSchool magicSchool:short magicItem:ref whichEffect:short

Sets the school of the scripted effect item.

Magic School Codes[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


See Also[edit | edit source]

GetNthEffectItemScriptSchool