SetScript
Revision as of 23:33, 27 April 2008 by imported>Speedo (Beta tagged)
Beta Function
This function has not been fully tested yet, and is not ready to be used in a released mod. It may not have the same function in later versions, may require the script to be recompiled, or simply may be removed. Use for testing purposes only until the author of the function says otherwise.
A command for Oblivion Script Extender
Syntax:
(script:refID) reference.SetScript scriptID:ref targetObjectID:ref
Sets the specified script onto the calling object and returns any previous script.
Notes
- Note that Oblivion doesn't have a script variable type so you must assign the script to a ref variable for this to work.