Difference between revisions of "GetMagicItemType"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>WereWolf
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
GetMagicItemType - returns the magic item type
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
        (magicItemType:short) GetMagicItemType magicItem:ref
        (magicItemType:short) GetMIType magicItem:ref


==Notes==
'''Syntax:'''
*Magic Item Types:
(magicItemType:short) GetMagicItemType magicItem:ref
 
(magicItemType:short) GetMIType magicItem:ref
 
Returns the magic item type.
 
'''Magic Item Types:'''
   0:    Not a Magic Item
   0:    Not a Magic Item
   1:    Spell
   1:    Spell

Latest revision as of 12:20, 14 September 2007

A command for Oblivion Script Extender

Syntax:

(magicItemType:short) GetMagicItemType magicItem:ref
(magicItemType:short) GetMIType magicItem:ref

Returns the magic item type.

Magic Item Types:
 0:    Not a Magic Item
 1:    Spell
 2:    Enchantment
 3:    Alchemy Item
 4:    Ingredient