GetNameOfClass

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns the name of the Class of the specified Actor (Base Form or Reference), as a string.

Syntax

[help]
(string) Actor.GetNameOfClass Actor:NPC 

Example

string_var my_string
let my_string := GetNameOfClass SomeNPCBaseForm
MessageEx "The race of %n is %z", SomeNPCBaseForm, my_string
string_var my_string
let my_string := EasyPeteRef.GetNameOfClass
MessageEX "The class of %n is %z", EasyPeteRef, my_string

See Also