Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_BaseEditorHintCondition.c
Go to the documentation of this file.
1 [BaseContainerProps(), SCR_BaseContainerHintCondition()]
3 {
4  protected void OnInitConditionEditor(SCR_EditorManagerEntity editorManager);
5  protected void OnExitConditionEditor(SCR_EditorManagerEntity editorManager);
6 
7  //------------------------------------------------------------------------------------------------
8  protected void OnEditorManagerInitOwner()
9  {
11  core.Event_OnEditorManagerInitOwner.Remove(OnEditorManagerInitOwner);
12 
13  OnInitConditionEditor(core.GetEditorManager());
14  }
15 
16  //------------------------------------------------------------------------------------------------
17  override protected void OnInitCondition(Managed owner)
18  {
19  SCR_EditorManagerEntity editorManager = SCR_EditorManagerEntity.GetInstance();
20  if (editorManager)
21  {
22  OnInitConditionEditor(editorManager);
23  }
24  else
25  {
27  core.Event_OnEditorManagerInitOwner.Insert(OnEditorManagerInitOwner);
28  }
29  }
30 
31  //------------------------------------------------------------------------------------------------
32  override protected void OnExitCondition(Managed owner)
33  {
34  SCR_EditorManagerEntity editorManager = SCR_EditorManagerEntity.GetInstance();
35  if (editorManager)
36  OnExitConditionEditor(editorManager);
37  }
38 }
SCR_BaseEditorHintCondition
Definition: SCR_BaseEditorHintCondition.c:2
SCR_BaseHintCondition
Definition: SCR_BaseHintCondition.c:2
SCR_EditorManagerCore
Core component to manage SCR_EditorManagerEntity.
Definition: SCR_EditorManagerCore.c:5
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
SCR_EditorManagerEntity
Definition: SCR_EditorManagerEntity.c:26