Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_HoveredEntityHasFlagsActionComponent.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
BaseContainerCustomStringTitleField
(
"Hovered entity has flags"
)]
2
class
SCR_HoveredEntityHasFlagsActionComponent
:
SCR_AvailableActionCondition
3
{
4
[
Attribute
(
""
, UIWidgets.Flags,
desc
:
"Check if editable entity has the selected flags."
, enums: ParamEnumArray.FromEnum(
EEditableEntityFlag
))]
5
protected
EEditableEntityFlag
m_Flags;
6
7
override
bool
IsAvailable(
SCR_AvailableActionsConditionData
data
)
8
{
9
if
(!
data
)
10
return
false
;
11
SCR_EditableEntityComponent
entity =
SCR_BaseEditableEntityFilter
.GetFirstEntity(
EEditableEntityState
.HOVER);
12
13
if
(!entity)
14
return
false
;
15
16
return
GetReturnResult(entity.HasEntityFlag(m_Flags));
17
}
18
};
EEditableEntityState
EEditableEntityState
Definition:
EEditableEntityState.c:37
EEditableEntityFlag
EEditableEntityFlag
Unique flags of the entity.
Definition:
EEditableEntityFlag.c:5
SCR_AvailableActionsConditionData
Definition:
SCR_AvailableActionsConditionData.c:5
BaseContainerCustomStringTitleField
class SCR_HitZoneGroupNameHolder BaseContainerCustomStringTitleField("USE INHERENT VERSION ONLY!")
Definition:
SCR_HitZoneGroupNameHolder.c:27
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition:
SCR_RespawnBriefingComponent.c:17
SCR_AvailableActionCondition
A single available action condition representation.
Definition:
SCR_AvailableActionsCondition.c:3
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_HoveredEntityHasFlagsActionComponent
Definition:
SCR_HoveredEntityHasFlagsActionComponent.c:2
SCR_BaseEditableEntityFilter
Definition:
SCR_BaseEditableEntityFilter.c:13
SCR_EditableEntityComponent
Definition:
SCR_EditableEntityComponent.c:13
data
Get all prefabs that have the spawner data
Definition:
SCR_EntityCatalogManagerComponent.c:305
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
UI
HUD
AvailableActions
Conditions
Editor
SCR_HoveredEntityHasFlagsActionComponent.c
Generated by
1.8.17