GetFactionCombatReaction

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns the combat reaction type between two factions.

Syntax

[help]
(int) GetFactionCombatReaction faction:form faction:form 

Return values:

  • 0 = Neutral: This is how all factions relate to each other by default, even if you don't specify it. Neutrals will be attacked by Very Aggressive actors.
  • 1 = Enemy: Enemy actors are attacked on sight by Aggressive and Very Aggressive actors.
  • 2 = Ally: Allies cannot attack each other under any circumstances. An actor's Assistance setting determine whether it will help an Ally in combat or not.
  • 3 = Friend: Friends cannot attack each other under any circumstances. An actor's Assistance setting determine whether it will help a Friend in combat or not.

See Also