GetRace

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 race of the specified actor

Syntax

[help]
(race) Actor.GetRace Actor:NPC

Example

ref rRace
let rRace := GetRace SomeNPC
if rRace == Ghoul
    ; do something ghoulish
endif

let rRace := SomeNPCRef.GetRace
if rRace == Hispanic
  ; whatever
endif

See Also