SetNthEffectItemScript

Revision as of 14:52, 12 September 2007 by imported>WereWolf (Added obse link)

A command for Oblivion Script Extender

SetNthEffectItemScript - sets the script for the specified scripted effect item. Note that the CS doesn't have a variable type for a script, so you must assign the script editor id to a ref variable to use this function.

Syntax:

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

Notes

  • You have to assign the script to a reference variable first. Then use that variable in the function call.

See Also