Difference between revisions of "GetIsClass"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Odessa
(Expanded with syntax/example)
 
Line 1: Line 1:
{{Incomplete}}
{{Function
 
|origin = GECK1
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetIsClass GetIsClass].
|summary = Returns 1 if the actor's class matches a given Class ID.
|name = GetIsClass
|returnType = boolean
|referenceType = actor
|arguments = {{FunctionArgument
  |Name = Class
  |Type = form
  }}
|example = if SomeActor.GetIsClass Doctor
    ; Do my doctor stuff
endif
}}


[[Category:Functions]]
[[Category:Functions]]

Latest revision as of 03:43, 20 April 2014

< [[::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