Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCE_EditableWaypointInteraction.c
Go to the documentation of this file.
3 {
4  override bool CanSetParent(EEditableEntityType parentType, EEditableEntityFlag parentFlags, EEditableEntityInteractionFlag interactionFlags = int.MAX)
5  {
6  if (parentType == ROOT)
7  return SCR_Enum.HasFlag(interactionFlags, EEditableEntityInteractionFlag.PLACING);
8 
9  return !SCR_Enum.HasFlag(interactionFlags, EEditableEntityInteractionFlag.PLACING) //--- Don't allow any interaction while placing, it would add the waypoint to the target instead
10  &&
11  (
12  parentType == EEditableEntityType.CHARACTER
13  || parentType == EEditableEntityType.GROUP
14  );
15  }
16 };
EEditableEntityFlag
EEditableEntityFlag
Unique flags of the entity.
Definition: EEditableEntityFlag.c:5
SCR_Enum
Definition: SCR_Enum.c:1
SCR_EditableWaypointInteraction
Definition: SCE_EditableWaypointInteraction.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