GetIsClass

From the Fallout3 GECK Wiki
Revision as of 04:43, 20 April 2014 by imported>Odessa (Expanded with syntax/example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 class matches a given Class ID.

Syntax

[help]
(boolean) actor.GetIsClass Class:form

Example

if SomeActor.GetIsClass Doctor
    ; Do my doctor stuff
endif