Difference between revisions of "SameFaction"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Pintocat
 
(One intermediate revision by one other user not shown)
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]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions (GECK 1.0)]]
[[Category:Actor State Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.0)]]
[[Category:Condition Functions (GECK 1.1)]]
[[Category:Actor Functions]]
[[Category:Actor Functions]]
[[Category:Actor Functions (GECK 1.0)]]
[[Category:Actor Functions (GECK 1.1)]]

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