SetNameEx

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Sets the name of the specified Base Object, held by a Ref Variable, to the string.

Syntax

[help]
(None) SetNameEx NewName:string ToRename:ref 

Notes

  • The function does not accept string variables directly. String variables must be converted to a string:
    • Example: SetNameEX $sv_NewName rFormToRename
  • The base object to rename must be held in a Ref Variable. Example: set rFormToRename to Weap10mmSubmachineGun
  • The object to rename is not limited to Inventory items. Base Objects with a 'FULL - Name' sub record can be renamed, including Quest topics (Topic Text), etc.

See Also