Difference between revisions of "MagicItemHasEffectCount"
Jump to navigation
Jump to search
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== |
Revision as of 12:39, 14 September 2007
A command for Oblivion Script Extender
Syntax:
(effectCount:short) MagicItemHasEffectCount effect:chars
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.