Class: FactionState
Faction state shown by faction-war UI scripts.
Source
C++ class FactionState
Custom Constructor
FactionState
Remarks
This is a mutable data object filled by faction-war UI scripts. War state slots are fixed to five entries.
Constructors
Constructor
protected new FactionState(): FactionState;Engine-created faction state.
Returns
FactionState
Properties
actor_goodwill
actor_goodwill: number;Current goodwill from this faction to the actor.
bonus
bonus: number;Faction bonus level or id.
faction_id
faction_id: string;Faction community id.
icon
icon: string;Small faction icon texture.
icon_big
icon_big: string;Large faction icon texture.
location
location: string;Current faction map location.
member_count
member_count: number;Number of faction members.
name
name: string;Localized faction name or string table id.
power
power: number;Faction combat power.
resource
resource: number;Faction resource amount.
target
target: string;Current faction target.
target_desc
target_desc: string;Description of the current faction target.
war_state_hint1
war_state_hint1: string;Hint for the first faction war state line.
war_state_hint2
war_state_hint2: string;Hint for the second faction war state line.
war_state_hint3
war_state_hint3: string;Hint for the third faction war state line.
war_state_hint4
war_state_hint4: string;Hint for the fourth faction war state line.
war_state_hint5
war_state_hint5: string;Hint for the fifth faction war state line.
war_state1
war_state1: string;First faction war state line.
war_state2
war_state2: string;Second faction war state line.
war_state3
war_state3: string;Third faction war state line.
war_state4
war_state4: string;Fourth faction war state line.
war_state5
war_state5: string;Fifth faction war state line.