CopyModelPath

From the Oblivion ConstructionSet Wiki
Revision as of 15:22, 30 January 2008 by imported>DragoonWraith (rewrote note)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(nothing) reference.CopyModelPath fromObject:ref toObject:ref

Sets the model path of the calling reference or passed objectID to the model path of fromObject.

Note

  • When used on an object whose mesh is currently loaded by Oblivion (generally, this means that it is currently visible), it is necessary to "reload" the mesh. This can be done using Disable/Enable on References, or Unequip/Equip on equipment. There must be at least one frame in which the mesh is not visible, so you cannot use Enable/Equip in the same frame as Disable/Unequip.

See Also