Difference between revisions of "GetIsRace"

From the Fallout3 GECK Wiki
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
{{Incomplete}}
|summary = Returns 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
}}
[[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

[help]
(boolean) actor.GetIsRace Race:form

Example

if SomeActor.GetIsRace Ghoul
    ; Do my ghoulish stuff
endif