Difference between revisions of "GetNthEffectItemScriptSchool"
Jump to navigation
Jump to search
imported>WereWolf (Added obse link) |
imported>Haama (Added codes) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | ||
'''Syntax:''' | '''Syntax:''' | ||
Line 7: | Line 5: | ||
(magicSchool:short) GetNthEISSchool magicItem:ref whichEffect:short | (magicSchool:short) GetNthEISSchool magicItem:ref whichEffect:short | ||
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