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_PostGameGameModeStateComponent.c
Go to the documentation of this file.
1
[
ComponentEditorProps
(
category
:
"GameScripted/GameMode/Components"
, description:
"Game Mode component responsible for adding a 'post-game' period to the game mode."
)]
2
class
SCR_PostGameGameModeStateComponentClass
:
SCR_BaseGameModeStateComponentClass
3
{
4
}
5
7
class
SCR_PostGameGameModeStateComponent : SCR_BaseGameModeStateComponent
8
{
9
[
Attribute
(
"1"
, uiwidget:
UIWidgets
.CheckBox,
"Disables player controls in this state if checked."
,
category
:
"Game Mode"
)]
10
protected
bool
m_bDisableControls
;
11
12
//------------------------------------------------------------------------------------------------
14
override
bool
GetAllowControls
()
15
{
16
if
(
m_bDisableControls
)
17
return
false
;
18
19
return
true
;
20
}
21
22
//------------------------------------------------------------------------------------------------
24
sealed
override
SCR_EGameModeState
GetAffiliatedState
()
25
{
26
return
SCR_EGameModeState
.POSTGAME;
27
}
28
}
ComponentEditorProps
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
Definition
SCR_AIGroupUtilityComponent.c:12
GetAffiliatedState
SCR_EGameModeState GetAffiliatedState()
Called on the authority when created to assign state this component belongs to.
Definition
SCR_BaseGameModeStateComponent.c:48
GetAllowControls
SCR_BaseGameModeStateComponentClass SCR_BaseGameModeComponentClass GetAllowControls()
Base component for handling game mode states.
Definition
SCR_BaseGameModeStateComponent.c:11
SCR_EGameModeState
SCR_EGameModeState
Definition
SCR_EGameModeState.c:5
m_bDisableControls
bool m_bDisableControls
Definition
SCR_PreGameGameModeStateComponent.c:13
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
SCR_BaseGameModeStateComponentClass
Definition
SCR_BaseGameModeStateComponent.c:3
SCR_PostGameGameModeStateComponentClass
Definition
SCR_PostGameGameModeStateComponent.c:3
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
GameMode
SCR_PostGameGameModeStateComponent.c
Generated by
1.17.0