GetIsRace

From the Fallout3 GECK Wiki
Revision as of 03:39, 20 April 2014 by imported>Odessa (Expanded with syntax/example)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

Returns 1 if the actor's race matches a given RaceId.

Syntax

[help]
(boolean) actor.GetIsRace Race:form

Example

if SomeActor.GetIsRace Ghoul
    ; Do my ghoulish stuff
endif