SetNthEffectItemScript

From the Oblivion ConstructionSet Wiki
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[edit | edit source]

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