SetNthEffectItemScript

Revision as of 20:41, 1 March 2008 by imported>DragoonWraith (EI)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A command for Oblivion Script Extender

Syntax:

(nothing) SetNthEffectItemScript scriptObjectID:ref magicItem:ref whichEffect:short
(nothing) SetNthEIScript scriptObjectID:ref magicItem:ref whichEffect:short

Sets the script for the specified scripted effect item.

NotesEdit

  • Note that the CS doesn't have a variable type for a script, so you have to assign the script editor id to a reference variable first. Then use that variable in the function call.

See AlsoEdit