Difference between revisions of "MagicItemHasEffectCount"

32 bytes removed ,  13:39, 14 September 2007
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]]
MagicItemHasEffectCount - returns the count of the specified effects on the magic item.


'''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 '''MagicItemHasEffect''' on a magic item that doesn't have any effects (for instance, after using [[RemoveAllEffectItems]] on the item) will cause Oblivion to crash.
* 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.
** However, using [[MagicItemHasEffect]] on a non-magic item will not cause a crash.
** The same is probably true for '''MagicItemHasEffectCount'''.
** The same is probably true for [[MagicItemHasEffectCount]].


==See Also==
==See Also==
Anonymous user