Difference between revisions of "SetNthEffectItemScriptSchool"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Added codes)
imported>Skyranger-1
(added missing parameter)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  (nothing) SetNthEffectItemScriptSchool magicItem:ref whichEffect:short
  (nothing) SetNthEffectItemScriptSchool school:short magicItem:ref whichEffect:short


  (nothing) SetNthEISSchool magicItem:ref whichEffect:short
  (nothing) SetNthEISSchool school:short magicItem:ref whichEffect:short


Sets the school of the scripted effect item.
Sets the school of the scripted effect item.

Revision as of 17:28, 6 June 2008

A command for Oblivion Script Extender

Syntax:

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

Sets the school of the scripted effect item.

Magic School Codes

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

GetNthEffectItemScriptSchool