Difference between revisions of "CopyName"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>Haama
(→‎See Also: Added HasName)
 
(2 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==
Line 12: Line 12:


==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]