Difference between revisions of "CopyName"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>WereWolf
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
Copies the name from the source to the target.


'''Syntax:'''
'''Syntax:'''
  (nothing) CopyName srcObjectID:ref targetObjectID:ref
  (nothing) CopyName srcObjectID:ref targetObjectID:ref
Copies the name from the source to the target.


==Notes==
==Notes==

Revision as of 12:02, 14 September 2007

A command for Oblivion Script Extender

Syntax:

(nothing) CopyName srcObjectID:ref targetObjectID:ref

Copies the name from the source to the target.

Notes

  • It is defined to work on Inventory items, but it can be used with any form.
  • To use with a non-Inventory item you must first assign the objectID to a ref.
  • For most forms the name is part of the base form and changing the name will change it for all instances of the type.

See Also