Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_EditorModeActiveActionCondition.c
Go to the documentation of this file.
1
[
BaseContainerProps
()]
3
class
SCR_EditorModeActiveActionCondition
:
SCR_AvailableActionCondition
4
{
5
[
Attribute
(
SCR_Enum
.GetDefault(
EEditorMode
.EDIT),
desc
:
"Mode used to evaluate this condition."
, uiwidget: UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(
EEditorMode
),
category
:
"Editor Mode"
)]
6
private
EEditorMode
m_iModeType;
7
8
override
bool
IsAvailable(
SCR_AvailableActionsConditionData
data
)
9
{
10
if
(!
data
)
11
return
false
;
12
13
SCR_EditorManagerEntity
editorManager =
SCR_EditorManagerEntity
.GetInstance();
14
if
(!editorManager)
15
return
false
;
16
17
return
GetReturnResult(editorManager.GetCurrentMode() == m_iModeType);
18
}
19
}
SCR_Enum
Definition:
SCR_Enum.c:1
SCR_AvailableActionsConditionData
Definition:
SCR_AvailableActionsConditionData.c:5
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition:
SCR_RespawnBriefingComponent.c:17
SCR_AvailableActionCondition
A single available action condition representation.
Definition:
SCR_AvailableActionsCondition.c:3
Attribute
typedef Attribute
Post-process effect of scripted camera.
EEditorMode
EEditorMode
Editor mode that defines overall functionality.
Definition:
EEditorMode.c:5
SCR_EditorModeActiveActionCondition
Returns true when the editor is opened.
Definition:
SCR_EditorModeActiveActionCondition.c:3
data
Get all prefabs that have the spawner data
Definition:
SCR_EntityCatalogManagerComponent.c:305
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition:
SCR_AIGoalReaction.c:468
category
params category
Definition:
SCR_VehicleDamageManagerComponent.c:180
SCR_EditorManagerEntity
Definition:
SCR_EditorManagerEntity.c:26
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
UI
HUD
AvailableActions
Conditions
Editor
SCR_EditorModeActiveActionCondition.c
Generated by
1.8.17