Difference between revisions of "GetIsRace"
Jump to navigation
Jump to search
imported>Enlo m |
imported>Odessa (Expanded with syntax/example) |
||
Line 1: | Line 1: | ||
Returns 1 if the actor's race matches a given RaceId. | {{Function | ||
|origin = GECK1 | |||
{{ | |summary = Returns 1 if the actor's race matches a given RaceId. | ||
|name = GetIsRace | |||
|returnType = boolean | |||
|referenceType = actor | |||
|arguments = {{FunctionArgument | |||
|Name = Race | |||
|Type = form | |||
}} | |||
|example = if SomeActor.GetIsRace Ghoul | |||
; Do my ghoulish stuff | |||
endif | |||
}} | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.1)]] | [[Category:Functions (GECK 1.1)]] |
Revision as of 03:39, 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 race matches a given RaceId.
Syntax
(boolean) actor.GetIsRace Race:form
Example
if SomeActor.GetIsRace Ghoul ; Do my ghoulish stuff endif