4 [
Attribute(
"",
desc:
"If m_bGetWinningSubtitleParam is true and multiple factions in array then this text is shown over is subtitle with %1 being player faction.")]
7 override string GetSubtitle(
Faction factionPlayer, array<Faction> factionsOther)
9 if (factionsOther.Count() > 1 && m_bGetWinningSubtitleParam)
10 return m_sMultiFactionsSubtiteText;
12 return super.GetSubtitle(factionPlayer, factionsOther);
15 override string GetSubtitleParam(
Faction factionPlayer, array<Faction> factionsOther)
18 if (m_bGetWinningFactionImage)
20 if (factionsOther.Count() > 1 && !factionsOther.Contains(factionPlayer) && factionPlayer)
22 return factionPlayer.GetFactionName();
26 return super.GetSubtitleParam(factionPlayer, factionsOther);