Difference between revisions of "SetNthEffectItemScript"
no edit summary
imported>WereWolf (Added obse link) |
imported>WereWolf |
||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | ||
'''Syntax:''' | '''Syntax:''' | ||
Line 7: | Line 5: | ||
(nothing) SetNthEIScript scriptObjectID:ref magicItem:ref whichEffect:short | (nothing) SetNthEIScript scriptObjectID:ref magicItem:ref whichEffect:short | ||
Sets the script for the specified scripted effect item. | |||
==Notes== | ==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== | ==See Also== |