GetFactionCombatReaction
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Returns the combat reaction type between two factions.
Syntax
(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.