Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
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};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
EEditableEntityType
Defines type of SCR_EditableEntityComponent. Assigned automatically based on IEntity inheritance.
EEditableEntityFlag
Unique flags of the entity.
EEditableEntityInteractionFlag
Details of entity interaction.
@ MAX