SetScript

Revision as of 17:07, 12 September 2007 by imported>WereWolf (New page: A command for Oblivion Script Extender Sets the specified script onto the calling object and returns any previous script. '''Syntax:''' (script:re...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A command for Oblivion Script Extender

Sets the specified script onto the calling object and returns any previous script.

Syntax:

(script:refID) reference.SetScript scriptID:ref targetObjectID:ref

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.
  • 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