SetNthEffectItemScript
Revision as of 03:00, 26 August 2007 by imported>Haama (Created)
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.
(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.