MagicItemHasEffectItemScript

From the Oblivion ConstructionSet Wiki
Revision as of 20:17, 1 March 2008 by imported>DragoonWraith (MI)
(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 script:ref magicItem:ref

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

Notes

  • As of v0014 The official OBSE docs list the arguments in the wrong order. The arguments listed above are the correct order.
  • Returns 0 when trying to find a script-less (script:ref = 0) scripted effect.