Difference between revisions of "SetNthEffectItemScript"

89 bytes removed ,  13:11, 14 September 2007
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]]
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:'''
'''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==
* You have to assign the script to a reference variable first. Then use that variable in the function call.
*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==
Anonymous user