Difference between revisions of "GetIsRace"
Jump to navigation
Jump to search
imported>Odessa (Expanded with syntax/example) |
imported>Odessa (added link to similar nvse version) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = GECK1 | |origin = GECK1 | ||
|summary = Returns 1 if the actor's race matches a given RaceId. | |summary = Returns True (1) if the actor's race matches a given RaceId. | ||
|name = GetIsRace | |name = GetIsRace | ||
|returnType = boolean | |returnType = boolean | ||
Line 13: | Line 13: | ||
endif | endif | ||
}} | }} | ||
==See Also== | |||
*[[GetRace]] (to return the race id itself) | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.1)]] | [[Category: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)