Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_TaskBaseCommandAction.c
Go to the documentation of this file.
3 {
4  override void FilterEntities(notnull set<SCR_EditableEntityComponent> inEntities, out notnull set<SCR_EditableEntityComponent> outEntities)
5  {
6  foreach (SCR_EditableEntityComponent entity: inEntities)
7  {
8  if (entity.GetFaction())
9  outEntities.Insert(entity);
10  }
11  }
12  override bool CanBeShown(SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition, int flags)
13  {
14  if (!(flags & EEditorCommandActionFlags.OBJECTIVE))
15  return false;
16 
17  Resource resource = Resource.Load(m_CommandPrefab);
18  return resource.IsValid();
19  }
20 };
SCR_BaseContainerCustomTitleResourceName
SCR_CampaignMilitaryBaseComponent SCR_MilitaryBaseComponent SCR_BaseContainerCustomTitleResourceName("m_sBaseName", true)
Definition: SCR_CampaignMilitaryBaseComponent.c:2522
EEditorCommandActionFlags
EEditorCommandActionFlags
Simplified action conditions.
Definition: EEditorCommandActionFlags.c:5
SCR_EditableEntityComponent
Definition: SCR_EditableEntityComponent.c:13
SCR_TaskBaseCommandAction
Definition: SCR_TaskBaseCommandAction.c:2
SCR_BaseCommandAction
Definition: SCR_BaseCommandAction.c:2
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