SetName
Jump to navigation
Jump to search
A command for Oblivion Script Extender
Syntax:
(nothing) reference.SetName "name:string" objectID:ref
Sets the display name of the type.
Notes[edit | edit source]
- SetName is a special function. 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.
- The new name is not saved with the saved game, but is saved in memory. This means that (1) if you load a previous save without exiting the game, the new name will remain (even if the loaded save was taken before the name was changed) and (2) if you exit and reload the game, the new name is lost and must be reset.