Difference between revisions of "GetIsClass"
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: | ||
{{ | {{Function | ||
|origin = GECK1 | |||
|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
(boolean) actor.GetIsClass Class:form
Example
if SomeActor.GetIsClass Doctor ; Do my doctor stuff endif