Difference between revisions of "SameFaction"
no edit summary
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Pintocat |
||
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]] |