Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_BasePlacingToolbarAction.c
Go to the documentation of this file.
3 {
4  [Attribute("", UIWidgets.ResourceNamePicker, "Prefab", "et")]
5  ResourceName m_PlaceablePrefab;
6 
7  override bool CanBeShown(SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition, int flags)
8  {
9  Print("CanBeShown condition method not overridden for action, action won't show", LogLevel.WARNING);
10  return false;
11  }
12 
13  override bool CanBePerformed(SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition, int flags)
14  {
15  return true;
16  }
17 
18  override void Perform(SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,int flags, int param = -1)
19  {
20 
21  }
22 
26  void PerformCancel()
27  {
28 
29  }
30 
37  void PerformFinish(SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, SCR_EditableEntityComponent placedEntity)
38  {
39 
40  }
41 
42  bool GetPrefab(out ResourceName prefab)
43  {
44  prefab = m_PlaceablePrefab;
45  return !m_PlaceablePrefab.IsEmpty();
46  }
47 };
SCR_BasePlacingToolbarAction
Definition: SCR_BasePlacingToolbarAction.c:2
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_EditorToolbarAction
Definition: SCR_EditorToolbarAction.c:3
SCR_EditableEntityComponent
Definition: SCR_EditableEntityComponent.c:13
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