Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditorContextMenuHintCondition.c
Go to the documentation of this file.
1[BaseContainerProps(), SCR_BaseContainerHintCondition()]
3{
4 //------------------------------------------------------------------------------------------------
5 protected void OnMenuOpen(notnull array<SCR_BaseEditorAction> actions, vector cursorWorldPosition, out notnull array<ref SCR_EditorActionData> filteredActions, out int flags = 0)
6 {
7 if (!filteredActions.IsEmpty())
8 Activate();
9 }
10
11 //------------------------------------------------------------------------------------------------
12 override protected void OnInitConditionEditor(SCR_EditorManagerEntity editorManager)
13 {
15 if (contextMenuManager)
16 contextMenuManager.GetOnMenuOpen().Insert(OnMenuOpen);
17 }
18
19 //------------------------------------------------------------------------------------------------
20 override protected void OnExitConditionEditor(SCR_EditorManagerEntity editorManager)
21 {
23 if (contextMenuManager)
24 contextMenuManager.GetOnMenuOpen().Remove(OnMenuOpen);
25 }
26}
SCR_EAIThreatSectorFlags flags
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SCR_EditorManagerEntity(IEntitySource src, IEntity parent)
void OnInitConditionEditor(SCR_EditorManagerEntity editorManager)
void OnMenuOpen(notnull array< SCR_BaseEditorAction > actions, vector cursorWorldPosition, out notnull array< ref SCR_EditorActionData > filteredActions, out int flags=0)
void OnExitConditionEditor(SCR_EditorManagerEntity editorManager)