Difference between revisions of "GetIsRace"
added link to similar nvse version
imported>Enlo m |
imported>Odessa (added link to similar nvse version) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Returns 1 if the actor's race matches a given RaceId. | {{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:Functions (GECK 1.1)]] |