Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_NeutralizeEntityContextAction.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
2
[
BaseContainerProps
(),
SCR_BaseContainerCustomTitleUIInfo
(
"m_Info"
)]
3
class
SCR_NeutralizeEntityContextAction
:
SCR_SelectedEntitiesContextAction
4
{
5
override
bool
CanBeShown(
SCR_EditableEntityComponent
selectedEntity, vector cursorWorldPosition,
int
flags)
6
{
7
return
selectedEntity.CanDestroy();
8
}
9
10
override
bool
CanBePerformed(
SCR_EditableEntityComponent
selectedEntity, vector cursorWorldPosition,
int
flags)
11
{
12
return
selectedEntity.CanDestroy() && !selectedEntity.IsDestroyed();
13
}
14
15
override
void
Perform(
SCR_EditableEntityComponent
selectedEntity, vector cursorWorldPosition)
16
{
17
selectedEntity.Destroy();
18
}
19
};
SCR_NeutralizeEntityContextAction
Definition:
SCR_NeutralizeEntityContextAction.c:3
SCR_EditableEntityComponent
Definition:
SCR_EditableEntityComponent.c:13
SCR_SelectedEntitiesContextAction
Definition:
SCR_SelectedEntitiesContextAction.c:10
SCR_BaseContainerCustomTitleUIInfo
void SCR_BaseContainerCustomTitleUIInfo(string propertyName, string format="%1")
Definition:
Attributes.c:788
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
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Editor
Containers
Actions
ContextActions
SCR_NeutralizeEntityContextAction.c
Generated by
1.8.17