Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_BasePlacingToolbarAction.c
Go to the documentation of this file.
1
[
BaseContainerProps
()]
2
class
SCR_BasePlacingToolbarAction
:
SCR_EditorToolbarAction
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
};
flags
SCR_EAIThreatSectorFlags flags
Definition
AIControlComponentSerializer.c:16
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
ResourceName
Definition
ResourceName.c:13
SCR_BasePlacingToolbarAction
Definition
SCR_BasePlacingToolbarAction.c:3
SCR_EditableEntityComponent
Definition
SCR_EditableEntityComponent.c:14
SCR_EditorToolbarAction
Definition
SCR_EditorToolbarAction.c:4
UIWidgets
Definition
attributes.c:40
vector
Definition
vector.c:13
Print
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
LogLevel
Enum with severity of the logging message.
Definition
LogLevel.c:14
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Editor
Containers
Actions
ToolbarActions
SCR_BasePlacingToolbarAction.c
Generated by
1.17.0