GetRaceName

From the Fallout3 GECK Wiki
Revision as of 12:53, 28 June 2014 by imported>Odessa (Created page with "{{Function |origin = NVSE |summary = Returns the name of the race of the specified actor, as a string. |name = GetRaceName |returnType = string |arguments = {{Function...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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