Difference between revisions of "GetIsRace"
Jump to navigation
Jump to search
imported>Wkilleen |
imported>Odessa (added link to similar nvse version) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Function | |||
|origin = GECK1 | |||
|summary = Returns True (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 | |||
}} | |||
==See Also== | |||
*[[GetRace]] (to return the race id itself) | |||
[[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 11:44, 28 June 2014
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Returns True (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
See Also
- GetRace (to return the race id itself)