IsNthEffectItemScripted

From the Oblivion ConstructionSet Wiki
Revision as of 20:42, 1 March 2008 by imported>DragoonWraith (EI)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax

(isScriptEffect:bool) IsNthEffectItemScripted magicItem:ref whichEffect:short

Returns whether the specified effect item is a scripted effect.

Notes[edit | edit source]

  • This will return true if the effect is a scripted effect, even if no script has been attached to the effect. Use if GetNthEffectItemScript to determine if there is a script on the effect.

See Also[edit | edit source]