Difference between revisions of "SameFaction"

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>Pintocat
 
Line 1: Line 1:
{{Incomplete}}
{{Function
 
|CSWikiPage = SameFaction
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/SameFaction SameFaction].
|origin = GECK1
|summary = Returns 1 if the calling actor is in the same faction as the target actor -- i.e. they are both members of at least one faction in common.
|name = SameFaction
|returnType = bool
|referenceType = actor
|arguments = {{FunctionArgument
  |Name = actor
  |Type = form
  }}
|Example=if (player.SameFaction TargetActor.Ref == 1)
}}


[[Category:Functions]]
[[Category:Functions]]

Latest revision as of 04:59, 20 January 2017

< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: SameFaction.

A function included in the GECK version 1.1.0.36.

Description

Returns 1 if the calling actor is in the same faction as the target actor -- i.e. they are both members of at least one faction in common.

Syntax

[help]
(bool) actor.SameFaction actor:form