[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "CopyModelPath"
Jump to navigation
Jump to search
imported>WereWolf (New page: A command for Oblivion Script Extender '''Syntax:''' (nothing) ''reference.''CopyModelPath fromObject:ref ''toObject:ref'' Sets the model path of ...) |
imported>DragoonWraith m (and I'm forgetting the names of common and useful functions... wow.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
Sets the model path of the calling reference or passed objectID to the model path of ''fromObject''. | Sets the model path of the calling reference or passed objectID to the model path of ''fromObject''. | ||
==See Also== | == 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 [[UnequipItem]]/[[EquipItem]] on equipment. There must be at least one frame in which the mesh is not visible, so you cannot use [[Enable]]/[[EquipItem]] in the same frame as [[Disable]]/[[UnequipItem]]. | |||
== See Also == | |||
*[[SetModelPath]] | *[[SetModelPath]] | ||
*[[CompareModelPath]] | *[[CompareModelPath]] |
Latest revision as of 16:23, 30 January 2008
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[edit | edit source]
- 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 UnequipItem/EquipItem on equipment. There must be at least one frame in which the mesh is not visible, so you cannot use Enable/EquipItem in the same frame as Disable/UnequipItem.