Difference between revisions of "MagicItemHasEffectCountCode"
MagicItemHasEffectCountCode (edit)
Revision as of 12:38, 14 September 2007
, 12:38, 14 September 2007no edit summary
imported>WereWolf (Added obse link) |
imported>WereWolf |
||
|
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
'''Syntax:'''
(effectCount:short) MagicItemHasEffectCountC effectCode:long magicItem:ref
Returns the count of effects with the specified effect code on the magic item.
==Notes==
* Uses a long value returned from [[GetNthEffectItemCode]] or [[GetMagicEffectCode]].
* Using '''MagicItemHasEffectCode''' on a magic item that doesn't have any effects (for instance, after using [[RemoveAllEffectItems]] on the item) will cause Oblivion to crash.
** However, using
** The same is probably true for '''MagicItemHasEffectCountCode'''.
| |||