Difference between revisions of "MagicItemHasEffectCode"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>Haama
(→‎Notes: Fixed as of v0013)
Line 12: Line 12:
* Using [[MagicItemHasEffectCode]] on a magic item that doesn't have any effects (for instance, after using [[RemoveAllEffectItems]] on the item) will cause Oblivion to crash.
* Using [[MagicItemHasEffectCode]] 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 [[MagicItemHasEffectCode]] on a non-magic item will not cause a crash.
** However, using [[MagicItemHasEffectCode]] on a non-magic item will not cause a crash.
**This has been fixed as of v0013.


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

Revision as of 00:09, 26 November 2007

A command for Oblivion Script Extender

Syntax:

(hasEffect:bool) MagicItemHasEffectCode effectCode:long magicItem:ref
(hasEffect:bool) MagicHasEffectC effectCode:long magicItem:ref

Returns whether the magic item has an effect item with the specified effect code.

Notes

See Also