Difference between revisions of "GetMagicItemType"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>WereWolf
(Fixed format, added OBSE link & added categories)
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
GetMagicItemType - returns the magic item type
GetMagicItemType - returns the magic item type
        (magicItemType:short) GetMagicItemType magicItem:ref
 
        (magicItemType:short) GetMIType magicItem:ref
'''Syntax:'''
(magicItemType:short) GetMagicItemType magicItem:ref
 
(magicItemType:short) GetMIType magicItem:ref


==Notes==
==Notes==
Line 15: Line 20:
[[Category:Magic Functions]]
[[Category:Magic Functions]]
[[Category:Magic Functions (OBSE)]]
[[Category:Magic Functions (OBSE)]]
[[Category:Condition Functions]]
[[Category:Condition Functions (OBSE)]]

Revision as of 16:58, 11 September 2007

A command for Oblivion Script Extender

GetMagicItemType - returns the magic item type

Syntax:

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

Notes

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