GetReaction - Faction

From Creation Kit
Jump to: navigation, search

Member of: Faction Script

Gets the faction's reaction towards the other one.

Syntax

int Function GetReaction(Faction akOther) native

Parameters

  • akOther: The Faction to get a reaction towards.

Return Value

This faction's reaction towards the other one.

The following values are returned:

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

Examples

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

See Also