Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkActionEndMission.c
Go to the documentation of this file.
3{
4 [Attribute(UIWidgets.CheckBox, desc: "If true, it will override any previously set game over type with selected one down bellow")]
5 bool m_bOverrideGameOverType;
6
7 [Attribute("1", UIWidgets.ComboBox, "Game Over Type", "", ParamEnumArray.FromEnum(EGameOverTypes))]
8 EGameOverTypes m_eOverriddenGameOverType;
9
10 //------------------------------------------------------------------------------------------------
11 override void OnActivate(IEntity object)
12 {
13 if (!CanActivate())
14 return;
15
17 if (!scenarioFrameworkSystem)
18 return;
19
20 if (m_bOverrideGameOverType)
21 scenarioFrameworkSystem.SetMissionEndScreen(m_eOverriddenGameOverType);
22
23 scenarioFrameworkSystem.Finish();
24 }
25}
EGameOverTypes
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override void OnActivate()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
static SCR_ScenarioFrameworkSystem GetInstance()
void SetMissionEndScreen(EGameOverTypes GameOverType)
void Finish()
Finishes current game mode, sets match over flag, and ends game mode with specified type.
SCR_FieldOfViewSettings Attribute