GetFactionRelation

Revision as of 12:21, 15 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

GetFactionRelation returns the faction relation between two actors.

SyntaxEdit

GetFactionRelation TargetActorRef

Returns value based on Friend/Ally/Neutral/Enemy relationship with TargetActorRef:

  • 0 = Neutral
  • 1 = Enemy
  • 2 = Ally
  • 3 = Friend