GetMagicItemType

From the Oblivion ConstructionSet Wiki
Revision as of 13:20, 14 September 2007 by imported>WereWolf
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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