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_DeathMatchGameOverScreenInfo.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_BaseContainerCustomTitleEnum
(
EGameOverTypes
,
"m_GameOverScreenId"
)]
2
class
SCR_DeathMatchGameOverScreenInfo
:
SCR_BaseGameOverScreenInfo
3
{
4
[
Attribute
(
"1"
,
desc
:
"If true gets name of otherPlayer to be subtitle param, else gets name of Player"
)]
5
protected
bool
m_bGetWinningSubtitleParam
;
6
7
//Get winning faction name
8
override
string
GetSubtitleParam
(
int
playerId, array<int> otherPlayerIds)
9
{
10
PlayerManager
playerManager =
GetGame
().GetPlayerManager();
11
12
if
(!playerManager)
13
return
super.GetSubtitleParam(playerId, otherPlayerIds);
14
15
if
(
m_bGetWinningSubtitleParam
)
16
return
SCR_PlayerNamesFilterCache
.GetInstance().GetPlayerDisplayName(otherPlayerIds[0]);
17
else
18
return
SCR_PlayerNamesFilterCache
.GetInstance().GetPlayerDisplayName(playerId);
19
}
20
};
EGameOverTypes
EGameOverTypes
Definition
EGameOverTypes.c:2
GetGame
ArmaReforgerScripted GetGame()
Definition
game.c:1398
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
PlayerManager
Definition
PlayerManager.c:13
SCR_BaseGameOverScreenInfo
Definition
SCR_BaseGameOverScreenInfo.c:3
SCR_DeathMatchGameOverScreenInfo
Definition
SCR_DeathMatchGameOverScreenInfo.c:3
SCR_DeathMatchGameOverScreenInfo::GetSubtitleParam
override string GetSubtitleParam(int playerId, array< int > otherPlayerIds)
Definition
SCR_DeathMatchGameOverScreenInfo.c:8
SCR_DeathMatchGameOverScreenInfo::m_bGetWinningSubtitleParam
bool m_bGetWinningSubtitleParam
Definition
SCR_DeathMatchGameOverScreenInfo.c:5
SCR_PlayerNamesFilterCache
Definition
SCR_PlayerNamesFilterCache.c:3
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
GameOverScreen
SCR_DeathMatchGameOverScreenInfo.c
Generated by
1.17.0