Difference between revisions of "SameFaction"

453 bytes added ,  04:59, 20 January 2017
no edit summary
imported>Wkilleen
 
imported>Pintocat
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/SameFaction SameFaction].
{{Function
|CSWikiPage = 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.1)]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]
[[Category:Actor Functions]]
[[Category:Actor Functions]]
[[Category:Actor Functions (GECK 1.1)]]
Anonymous user