Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditorRespawnBriefingComponent.c
Go to the documentation of this file.
1[ComponentEditorProps(category: "GameScripted/GameMode/Components", description: "")]
5
6class 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 //------------------------------------------------------------------------------------------------
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}
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
ref SCR_HintUIInfo m_Info
void SCR_EditorManagerEntity(IEntitySource src, IEntity parent)
ref SCR_UIInfo m_InfoHost
override SCR_UIInfo GetInfo()
Main replication API.
Definition Replication.c:14
SCR_FieldOfViewSettings Attribute