MagicItemHasEffectItemScript

From the Oblivion ConstructionSet Wiki
Revision as of 03:35, 27 January 2008 by imported>Haama (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(hasScript:bool) MagicItemHasEffectItemScript magicItem:ref script:ref

Returns 1 if the magic effect has a scripted item with the specified script.

Notes

  • Returns 0 when trying to find a script-less (script:ref = 0) scripted effect.