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_ScenarioFrameworkActionEndMission.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_ContainerActionTitle
()]
2
class
SCR_ScenarioFrameworkActionEndMission
:
SCR_ScenarioFrameworkActionBase
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
16
SCR_ScenarioFrameworkSystem
scenarioFrameworkSystem =
SCR_ScenarioFrameworkSystem
.
GetInstance
();
17
if
(!scenarioFrameworkSystem)
18
return
;
19
20
if
(m_bOverrideGameOverType)
21
scenarioFrameworkSystem.
SetMissionEndScreen
(m_eOverriddenGameOverType);
22
23
scenarioFrameworkSystem.
Finish
();
24
}
25
}
EGameOverTypes
EGameOverTypes
Definition
EGameOverTypes.c:2
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
OnActivate
override void OnActivate()
Definition
SCR_CharacterCommandLoiter.c:31
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
IEntity
Definition
IEntity.c:13
SCR_ContainerActionTitle
Definition
SCR_ContainerActionTitle.c:2
SCR_ScenarioFrameworkActionBase
Definition
SCR_ScenarioFrameworkActionBase.c:3
SCR_ScenarioFrameworkActionEndMission
Definition
SCR_ScenarioFrameworkActionEndMission.c:3
SCR_ScenarioFrameworkSystem
Definition
SCR_ScenarioFrameworkSystem.c:2
SCR_ScenarioFrameworkSystem::GetInstance
static SCR_ScenarioFrameworkSystem GetInstance()
Definition
SCR_ScenarioFrameworkSystem.c:76
SCR_ScenarioFrameworkSystem::SetMissionEndScreen
void SetMissionEndScreen(EGameOverTypes GameOverType)
Definition
SCR_ScenarioFrameworkSystem.c:512
SCR_ScenarioFrameworkSystem::Finish
void Finish()
Finishes current game mode, sets match over flag, and ends game mode with specified type.
Definition
SCR_ScenarioFrameworkSystem.c:519
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
ScenarioFramework
Actions
SCR_ScenarioFrameworkActionEndMission.c
Generated by
1.17.0