GetName

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns the name of the specified object as a string.

Returns "<no name>" if a name for the form could not be found.

Syntax

[help]
(string) GetName Named:object 

Example

string_var my_name
let my_name := GetName SunnyREF ; * "Sunny Smiles"

Notes

  • This function doesn't return reference names set by SetRefName. LNGetName should be used for this instead.

See Also