Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_EditorCanEnterLayerActionCondition.c
Go to the documentation of this file.
1 
5 {
6 
7  SCR_LayersEditorComponent m_LayersManager;
8 
9  override bool IsAvailable(SCR_AvailableActionsConditionData data)
10  {
11  if (!data)
12  return false;
13 
15 
16  if (!entity)
17  return GetReturnResult(false);
18 
19  if (!m_LayersManager)
20  {
22  if (!m_LayersManager)
23  return false;
24  }
25 
26  return m_LayersManager.IsEditingLayersEnabled() && GetReturnResult(entity.CanEnterLayer(m_LayersManager));
27  }
28 };
EEditableEntityState
EEditableEntityState
Definition: EEditableEntityState.c:37
SCR_AvailableActionsConditionData
Definition: SCR_AvailableActionsConditionData.c:5
BaseContainerCustomStringTitleField
class SCR_HitZoneGroupNameHolder BaseContainerCustomStringTitleField("USE INHERENT VERSION ONLY!")
Definition: SCR_HitZoneGroupNameHolder.c:27
SCR_EditorCanEnterLayerActionCondition
Returns true if any hovered entity has children (returns false if not hovered entity)
Definition: SCR_EditorCanEnterLayerActionCondition.c:4
SCR_AvailableActionCondition
A single available action condition representation.
Definition: SCR_AvailableActionsCondition.c:3
SCR_BaseEditorComponent
Definition: SCR_BaseEditorComponent.c:119
m_LayersManager
protected SCR_LayersEditorComponent m_LayersManager
Definition: SCR_EntitiesToolbarEditorUIComponent.c:38
SCR_BaseEditableEntityFilter
Definition: SCR_BaseEditableEntityFilter.c:13
SCR_EditableEntityComponent
Definition: SCR_EditableEntityComponent.c:13
SCR_LayersEditorComponent
Definition: SCR_LayersEditorManager.c:11
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