Difference between revisions of "GetNthEffectItemScriptSchool"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>Haama
(Added codes)
 
(One intermediate revision by one other user not shown)
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==
Line 15: Line 17:
[[Category:Magic Functions]]
[[Category:Magic Functions]]
[[Category:Magic Functions (OBSE)]]
[[Category:Magic Functions (OBSE)]]
[[Category:Magic Functions - Effect Item (OBSE)]]

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