GetFactionRelation

From the Fallout3 GECK Wiki
Revision as of 11:42, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Jump to navigation Jump to search

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