Difference between revisions of "MagicItemHasEffectCount"
no edit summary
imported>WereWolf (Fixed syntax & added obse link) |
imported>WereWolf |
||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | ||
'''Syntax:''' | '''Syntax:''' | ||
(effectCount:short) MagicItemHasEffectCount effect:chars | (effectCount:short) MagicItemHasEffectCount effect:chars | ||
Returns the count of the specified effects on the magic item. | |||
==Notes== | ==Notes== | ||
* Using | * Using [[MagicItemHasEffect]] 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 | ** However, using [[MagicItemHasEffect]] on a non-magic item will not cause a crash. | ||
** The same is probably true for | ** The same is probably true for [[MagicItemHasEffectCount]]. | ||
==See Also== | ==See Also== |