Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_DeathMatchGameOverScreenInfo.c
Go to the documentation of this file.
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 playerManager.GetPlayerName(otherPlayerIds[0]);
17  else
18  return playerManager.GetPlayerName(playerId);
19  }
20 };
SCR_BaseGameOverScreenInfo
Definition: SCR_BaseGameOverScreenInfo.c:2
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition: SCR_CampaignHintStorage.c:22
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
EGameOverTypes
EGameOverTypes
Definition: EGameOverTypes.c:1
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_DeathMatchGameOverScreenInfo
Definition: SCR_DeathMatchGameOverScreenInfo.c:2
PlayerManager
Definition: PlayerManager.c:12
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468