GetRace

From the Fallout3 GECK Wiki
Revision as of 11:39, 28 June 2014 by imported>Odessa (Created page with "{{Function |origin = NVSE |summary = Returns the race of the specified actor |name = GetRace |returnType = race |arguments = {{FunctionArgument |Name = Actor |Ty...")
(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 race of the specified actor

Syntax

[help]
(race) GetRace Actor:NPC

Example

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

See Also