Difference between revisions of "SameFaction"
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: | ||
{{ | {{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. | [[Category:Functions (GECK 1.1)]] | ||
[[Category:Actor State Functions]] | [[Category:Actor State Functions]] | ||
[[Category:Actor State Functions (GECK 1. | [[Category:Actor State Functions (GECK 1.1)]] | ||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category:Condition Functions (GECK 1. | [[Category:Condition Functions (GECK 1.1)]] | ||
[[Category:Actor Functions]] | [[Category:Actor Functions]] | ||
[[Category:Actor Functions (GECK 1. | [[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
(bool) actor.SameFaction actor:form