Difference between revisions of "MagicItemHasEffectCount"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
m (Fit to box)
imported>Haama
(Note on crashes)
Line 1: Line 1:
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 magicItem:ref
  (effectCount:short) MagicItemHasEffectCount effect:chars magicItem:ref
==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'''.


==See Also==
==See Also==

Revision as of 17:32, 5 September 2007

MagicItemHasEffectCount - returns the count of the specified effects on the magic item.

(effectCount:short) MagicItemHasEffectCount effect:chars magicItem:ref

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.

See Also