GetRaceName

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns the name of the Race of the specified Actor (Base Form), as a string.

Syntax

[help]
(string) GetRaceName Actor:NPC 

Example

string_var my_string
let my_message := GetRaceName SomeNPC
MessageEx "The race of %n is %z", SomeNPC, my_string

See Also