GetRace
Revision as of 11:48, 28 June 2014 by imported>Odessa
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the race of the specified actor
Syntax
(race) GetRace Actor:NPC
Example
ref rRace let rRace := GetRace SomeNPC if rRace == Ghoul ; do something ghoulish endif
See Also
- GetIsRace (to return a boolean)
- GetRaceName (to return a string)