GetRaceName

< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the name of the race of the specified actor, as a string.

Syntax

(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