Skip to main content

Functions

The Factions system features a bunch of functions that allow you to get or set the state of factions.

Get Faction Attitude By Faction​

Allows you to get the current relationship of two factions.

get-faction-attitude-towrads-faction.webp

Inputs​

NameTypeDescription
Source FactionGameplayTagThe source faction gameplay tag.
Target FactionGameplayTagThe target faction gameplay tag.

Output​

NameTypeDescription
Faction AttitudeETeamAttitudeThe faction attitude enum.

Get Factions Attitude By Faction (multiple)​

Allows you to get the current relationship of multiple factions at once.

get-faction-attitudes-towrads-faction.webp

Inputs​

NameTypeDescription
Source FactionsGameplayTagContainerThe source factions gameplay tags container.
Target FactionsGameplayTagContainerThe target factions gameplay tags container.

Output​

NameTypeDescription
Faction AttitudeETeamAttitudeThe faction attitude enum.

Set Faction Attitude​

Allows you to set the current relationship of a faction.

set-faction-attitude.webp

Inputs​

NameTypeDescription
Source FactionGameplayTagThe source faction gameplay tag.
Target FactionGameplayTagThe target faction gameplay tag.
New AttitudeETeamAttitudeThe new faction attitude.