GetRaceName

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::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

[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