Difference between revisions of "SetNthEffectItemScript"

44 bytes removed ,  20:41, 1 March 2008
EI
imported>WereWolf
(Added obse link)
imported>DragoonWraith
(EI)
 
(2 intermediate revisions by one other user not shown)
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==
Line 19: Line 19:
[[Category:Magic Functions]]
[[Category:Magic Functions]]
[[Category:Magic Functions (OBSE)]]
[[Category:Magic Functions (OBSE)]]
[[Category:Magic Functions - Effect Item (OBSE)]]