Difference between revisions of "MagicItemHasEffectCode"
Fixed format & added OBSE link
imported>Haama (Note on crashes) |
imported>WereWolf (Fixed format & added OBSE link) |
||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | |||
MagicItemHasEffectCode - returns whether the magic item has an effect item with the specified effect code. Uses a long value returned from GetNthEffectItemCode or GetMagicEffectCode. | MagicItemHasEffectCode - returns whether the magic item has an effect item with the specified effect code. Uses a long value returned from GetNthEffectItemCode or GetMagicEffectCode. | ||
'''Syntax:''' | |||
(hasEffect:bool) MagicItemHasEffectCode effectCode:long magicItem:ref | (hasEffect:bool) MagicItemHasEffectCode effectCode:long magicItem:ref | ||
(hasEffect:bool) MagicHasEffectC effectCode:long magicItem:ref | (hasEffect:bool) MagicHasEffectC effectCode:long magicItem:ref | ||