GetIsRace

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

Returns True (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

See Also

  • GetRace (to return the race id itself)