Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_EditableCharacterInteraction.c
Go to the documentation of this file.
1
[
BaseContainerProps
()]
2
class
SCR_EditableCharacterInteraction
:
SCR_EditableEntityInteraction
3
{
4
override
bool
CanSetParent(
EEditableEntityType
parentType,
EEditableEntityFlag
parentFlags,
EEditableEntityInteractionFlag
interactionFlags =
int
.MAX)
5
{
6
//--- Killed characters can be only in root
7
if
(!
SCR_Enum
.HasFlag(interactionFlags,
EEditableEntityInteractionFlag
.ALIVE))
8
return
parentType ==
ROOT
;
9
10
if
(parentType ==
ROOT
)
11
return
true
;
12
13
//--- Cannot move players to groups
14
if
(parentType !=
EEditableEntityType
.VEHICLE && !
SCR_Enum
.HasFlag(interactionFlags,
EEditableEntityInteractionFlag
.NON_PLAYABLE))
15
return
false
;
16
17
//--- AI-compatible target
18
return
parentType ==
EEditableEntityType
.CHARACTER
19
|| parentType ==
EEditableEntityType
.GROUP
20
|| parentType ==
EEditableEntityType
.VEHICLE;
21
}
22
};
EEditableEntityFlag
EEditableEntityFlag
Unique flags of the entity.
Definition:
EEditableEntityFlag.c:5
SCR_Enum
Definition:
SCR_Enum.c:1
SCR_EditableCharacterInteraction
Definition:
SCR_EditableCharacterInteraction.c:2
ROOT
@ ROOT
Definition:
EEditorMenuOverlayRoot.c:7
EEditableEntityType
EEditableEntityType
Defines type of SCR_EditableEntityComponent. Assigned automatically based on IEntity inheritance.
Definition:
EEditableEntityType.c:5
EEditableEntityInteractionFlag
EEditableEntityInteractionFlag
Details of entity interaction.
Definition:
EEditableEntityInteractionFlag.c:5
SCR_EditableEntityInteraction
Definition:
SCR_EditableEntityInteraction.c:2
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
Interactions
SCR_EditableCharacterInteraction.c
Generated by
1.8.17