GetRace
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
Returns the race of the specified actor
Syntax
(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
- GetIsRace (to return a boolean)
- GetRaceName (to return a string)