Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_EditorRespawnBriefingComponent.c
Go to the documentation of this file.
1 [ComponentEditorProps(category: "GameScripted/GameMode/Components", description: "")]
3 {
4 }
5 
6 class SCR_EditorRespawnBriefingComponent : SCR_RespawnBriefingComponent
7 {
8  [Attribute()]
9  protected ref SCR_UIInfo m_InfoGameMaster;
10 
11  [Attribute()]
12  protected ref SCR_UIInfo m_InfoHost;
13 
14  //------------------------------------------------------------------------------------------------
15  override SCR_UIInfo GetInfo()
16  {
17  //~ Check if player is Server
18  if (Replication.IsServer())
19  {
20  return m_InfoHost;
21  }
22  else
23  {
24  //~ Check if player is Game Master
25  SCR_EditorManagerEntity editorManager = SCR_EditorManagerEntity.GetInstance();
26  if (!editorManager || editorManager.IsLimited())
27  return m_Info;
28  else
29  return m_InfoGameMaster;
30  }
31  }
32 }
ComponentEditorProps
SCR_FragmentEntityClass ComponentEditorProps
GetInfo
override SCR_UIInfo GetInfo()
Definition: SCR_EditorRespawnBriefingComponent.c:15
m_InfoHost
protected ref SCR_UIInfo m_InfoHost
Definition: SCR_EditorRespawnBriefingComponent.c:12
SCR_EditorRespawnBriefingComponentClass
Definition: SCR_EditorRespawnBriefingComponent.c:2
Attribute
SCR_EditorRespawnBriefingComponentClass SCR_RespawnBriefingComponentClass Attribute()] protected ref SCR_UIInfo m_InfoGameMaster
Post-process effect of scripted camera.
m_Info
protected ref SCR_HintUIInfo m_Info
Definition: SCR_BaseHintCondition.c:3
SCR_UIInfo
Definition: SCR_UIInfo.c:7
SCR_RespawnBriefingComponentClass
Definition: SCR_RespawnBriefingComponent.c:2
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180
SCR_EditorManagerEntity
Definition: SCR_EditorManagerEntity.c:26