Difference between revisions of "GetNthEffectItemScriptSchool"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(EI)
imported>Haama
(Added codes)
 
Line 7: Line 7:


Returns the school of the scripted effect item.
Returns the school of the scripted effect item.
{{OBSE Magic School Codes}}


==See Also==
==See Also==

Latest revision as of 00:51, 27 March 2008

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 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]

SetNthEffectItemScriptSchool