Difference between revisions of "MagicItemHasEffectCount"
Jump to navigation
Jump to search
imported>WereWolf |
imported>Haama (Fixed syntax) |
||
Line 2: | Line 2: | ||
'''Syntax:''' | '''Syntax:''' | ||
(effectCount:short) MagicItemHasEffectCount effect:chars | (effectCount:short) MagicItemHasEffectCount effect:chars magicItem:ref | ||
Returns the count of the specified effects on the magic item. | Returns the count of the specified effects on the magic item. |
Revision as of 23:17, 15 November 2007
A command for Oblivion Script Extender
Syntax:
(effectCount:short) MagicItemHasEffectCount effect:chars magicItem:ref
Returns the count of the specified effects on the magic item.
Notes
- 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 MagicItemHasEffect on a non-magic item will not cause a crash.
- The same is probably true for MagicItemHasEffectCount.