SetNthEffectItemScript

From the Oblivion ConstructionSet Wiki
Revision as of 13:11, 14 September 2007 by imported>WereWolf
Jump to navigation Jump to search

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.

Notes

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