Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditorModeActiveActionCondition.c
Go to the documentation of this file.
1
4{
5 [Attribute(defvalue: EEditorMode.EDIT.ToString(), desc: "Mode used to evaluate this condition.", uiwidget: UIWidgets.ComboBox, enumType: EEditorMode, category: "Editor Mode")]
6 private EEditorMode m_iModeType;
7
8 //------------------------------------------------------------------------------------------------
9 override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
10 {
11 SCR_EditorManagerEntity editorManager = data.GetEditorManager();
12 return GetReturnResult(editorManager && editorManager.GetCurrentMode() == m_iModeType);
13 }
14}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SCR_EditorManagerEntity(IEntitySource src, IEntity parent)
Get all prefabs that have the spawner data
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
A single available action condition representation.
Returns true when the editor is opened.
SCR_FieldOfViewSettings Attribute
EEditorMode
Editor mode that defines overall functionality.
Definition EEditorMode.c:6