Difference between revisions of "MagicItemHasEffectCount"
Jump to navigation
Jump to search
imported>Haama (Note on crashes) |
imported>WereWolf (Fixed syntax & added obse link) |
||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | |||
MagicItemHasEffectCount - returns the count of the specified effects on the magic item. | MagicItemHasEffectCount - returns the count of the specified effects on the magic item. | ||
(effectCount:short) MagicItemHasEffectCount effect:chars | |||
'''Syntax:''' | |||
(effectCount:short) MagicItemHasEffectCount effect:chars | |||
==Notes== | ==Notes== |
Revision as of 17:01, 11 September 2007
A command for Oblivion Script Extender
MagicItemHasEffectCount - returns the count of the specified effects on the magic item.
Syntax:
(effectCount:short) MagicItemHasEffectCount effect:chars
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.