Difference between revisions of "SetScript"
Jump to navigation
Jump to search
imported>WereWolf |
imported>Speedo (Beta tagged) |
||
| Line 1: | Line 1: | ||
{{Beta}} |
|||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] |
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] |
||
| Line 8: | Line 9: | ||
==Notes== |
==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. |
*Note that Oblivion doesn't have a script variable type so you must assign the script to a ref variable for this to work. |
||
*'''This function is currently considered a BETA FUNCTION which will get official support after it gets some more testing. For now, please do not use in a shipping mod until further testing is done.''' |
|||
==See Also== |
==See Also== |
||
Revision as of 23:33, 27 April 2008
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.