Difference between revisions of "CopyName"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(New page: A command for Oblivion Script Extender Copies the name from the source to the target. '''Syntax:''' (nothing) CopyName srcObjectID:ref targetObjec...)
 
imported>Haama
(→‎See Also: Added HasName)
 
(3 intermediate revisions by 2 users not shown)
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==
*It is defined to work on Inventory items, but it can be used with any form.
*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.
*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.
*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==
==See Also==
*[[SetName]]
*[[HasName]]
*[[AppendToName]]
*[[CompareName]]
*[[CompareName]]
*[[CompareNames]]
*[[ModName]]
*[[ModName]]
*[[AppendToName]]
*[[NameIncludes]]
*[[NameIncludes]]
*[[SetName]]


[[Category:Functions]]
[[Category:Functions]]

Latest revision as of 03:46, 27 January 2008

A command for Oblivion Script Extender

Syntax:

(nothing) CopyName srcObjectID:ref targetObjectID:ref

Copies the name from the source to the target.

Notes[edit | edit source]

  • 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[edit | edit source]