SetScript

Revision as of 23:33, 27 April 2008 by imported>Speedo (Beta tagged)


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.

See Also