GetFactionRelation

Revision as of 12:42, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))

GetFactionRelation returns the faction relation between two actors.

Syntax

GetFactionRelation TargetActorRef

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

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