Difference between revisions of "GetIsRace"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Odessa
(added link to similar nvse version)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Incomplete}}
{{Function
 
|origin = GECK1
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetIsRace GetIsRace].
|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)]]

Latest revision as of 12: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

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

Example

if SomeActor.GetIsRace Ghoul
    ; Do my ghoulish stuff
endif

See Also

  • GetRace (to return the race id itself)