Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_RandomMessageGameOverScreenInfo.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_BaseContainerCustomTitleEnum
(
EGameOverTypes
,
"m_GameOverScreenId"
)]
2
class
SCR_RandomMessageGameOverScreenInfo
:
SCR_BaseGameOverScreenInfo
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
EGameOverTypes
Definition
EGameOverTypes.c:2
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition
SCR_CampaignHintStorage.c:22
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
Faction
Definition
Faction.c:13
SCR_BaseGameOverScreenInfo
Definition
SCR_BaseGameOverScreenInfo.c:3
SCR_RandomMessageGameOverScreenInfo
Definition
SCR_RandomMessageGameOverScreenInfo.c:3
SCR_RandomMessageGameOverScreenInfo::GetSubtitle
override string GetSubtitle(Faction factionPlayer, array< Faction > factionsOther)
Definition
SCR_RandomMessageGameOverScreenInfo.c:8
SCR_RandomMessageGameOverScreenInfo::m_aRandomEndMessages
ref array< LocalizedString > m_aRandomEndMessages
Definition
SCR_RandomMessageGameOverScreenInfo.c:5
SCR_RandomMessageGameOverScreenInfo::GetSubtitle
override string GetSubtitle(int playerId, array< int > otherPlayerIds)
Definition
SCR_RandomMessageGameOverScreenInfo.c:17
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
GameOverScreen
SCR_RandomMessageGameOverScreenInfo.c
Generated by
1.17.0