Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
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_EAIThreatSectorFlags flags
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.
Definition LogLevel.c:14
SCR_FieldOfViewSettings Attribute