GetReaction - Faction

Member of: Faction Script

Gets the faction's reaction towards the other one.

SyntaxEdit

int Function GetReaction(Faction akOther) native

ParametersEdit

  • akOther: The Faction to get a reaction towards.

Return ValueEdit

This faction's reaction towards the other one.

The following values are returned:

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

ExamplesEdit

; Get the Orcs' faction reaction to the Elves
int orcsTowardsElves = Orcs.GetReaction(Elves)

See AlsoEdit