Difference between revisions of "GetIsClass"
Jump to navigation
Jump to search
imported>Wkilleen |
imported>Odessa (Expanded with syntax/example) |
||
(3 intermediate revisions by one other user not shown) | |||
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]] | ||
[[Category:Functions (GECK 1.1)]] | |||
[[Category:Actor State Functions]] | [[Category:Actor State Functions]] | ||
[[Category:Actor State Functions (GECK 1.1)]] | |||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category:Condition Functions (GECK 1.1)]] |
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