Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_RandomMessageGameOverScreenInfo.c
Go to the documentation of this file.
3{
4 [Attribute(desc: "Randomized message shown in the end screen. Will use value set in Optional Params if this array is empty")]
5 protected ref array<LocalizedString> m_aRandomEndMessages;
6
7 //------------------------------------------------------------------------------------------------
8 override string GetSubtitle(Faction factionPlayer, array<Faction> factionsOther)
9 {
10 if (m_aRandomEndMessages.IsEmpty())
11 return super.GetSubtitle(factionPlayer, factionsOther);
12
13 return m_aRandomEndMessages.GetRandomElement();
14 }
15
16 //------------------------------------------------------------------------------------------------
17 override string GetSubtitle(int playerId, array<int> otherPlayerIds)
18 {
19 if (m_aRandomEndMessages.IsEmpty())
20 return super.GetSubtitle(playerId, otherPlayerIds);
21
22 return m_aRandomEndMessages.GetRandomElement();
23 }
24}
EGameOverTypes
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
override string GetSubtitle(Faction factionPlayer, array< Faction > factionsOther)
override string GetSubtitle(int playerId, array< int > otherPlayerIds)
SCR_FieldOfViewSettings Attribute