Difference between revisions of "MagicItemHasEffectItemScript"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>DragoonWraith
(MI)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  (hasScript:bool) MagicItemHasEffectItemScript magicItem:ref script:ref
  (hasScript:bool) MagicItemHasEffectItemScript script:ref magicItem:ref
Returns 1 if the magic effect has a scripted item with the specified script.
Returns 1 if the magic effect has a scripted item with the specified script.


==Notes==
==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.
*Returns 0 when trying to find a script-less ('''script:ref''' = 0) scripted effect.


Line 13: Line 14:
[[Category: Magic Functions]]
[[Category: Magic Functions]]
[[Category: Magic Functions (OBSE)]]
[[Category: Magic Functions (OBSE)]]
[[Category: Magic Functions - Magic Item (OBSE)]]

Latest revision as of 20:17, 1 March 2008

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[edit | edit source]

  • 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.