Difference between revisions of "GetIsRace"

194 bytes added ,  12:44, 28 June 2014
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
{{Incomplete}}
|summary = Returns True (1) if the actor's race matches a given RaceId.
 
|name = GetIsRace
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetIsRace 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)]]
Anonymous user