GetIsRace

Revision as of 04:39, 20 April 2014 by imported>Odessa (Expanded with syntax/example)
< [[::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

(boolean) actor.GetIsRace Race:form

Example

if SomeActor.GetIsRace Ghoul
    ; Do my ghoulish stuff
endif