Difference between revisions of "MagicItemHasEffectCode"
Jump to navigation
Jump to search
no edit summary
imported>WereWolf (Fixed format & added OBSE link) |
imported>WereWolf |
||
|
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.▼
'''Syntax:'''
(hasEffect:bool) MagicHasEffectC effectCode:long magicItem:ref
▲
==Notes==
* Uses a long value returned from [[GetNthEffectItemCode]] or [[GetMagicEffectCode]].
** However, using [[MagicItemHasEffectCode]] on a non-magic item will not cause a crash.
==See Also==
| |||