2D Editor: Synchronization
Synchronization mode is used to make different groups carry out their waypoint orders at the same time, and optionally only under specific circumstances. Synchronization can seem a hard concept to understand at first, but it is a very powerful and easy to use tool. For example, synchronization can be used to organize friendly forces to wait until everyone is in position before launching a mass attack, or wait in ambush until an enemy convoy is in the perfect location before opening fire. Synchronizing links can be made between any of a group's waypoints and any number of other group's waypoints, and any number of triggers. A synchronized waypoint will not complete until all waypoints it is linked with are ready to complete, and all synchronized triggers are activated. Synchronizing links are displayed by a dark blue line connecting the entities. To create a synchronized link between a waypoint and another group's waypoint or a trigger, simply left click and hold on the waypoint, move the mouse to the desired waypoint/trigger then release. To remove synchronization lines from a waypoint or trigger, left click on it, hold and drag a line into empty space. Note this will remove all synchronizing lines from that entity, so be careful.
When a group's current waypoint is synchronized, the HUD will display the waypoint type as "Wait", and the group will move to the waypoints position, even if the true waypoint type would not normally involve moving to the waypoint's position. Another important thing to know is that while a group's waypoint's Activation code block does not return true, but the waypoint is otherwise ready to activate that waypoint will be considered complete for the purposes of synchronization! It is possible to link one waypoint with more than one waypoint of another single group. It is also possible to create synchronized links that can never be satisfied, in which case no warning will be given and groups will stuck waiting forever.
Triggers do not wait for synchronized waypoints, only the waypoint needs to wait until the trigger is active. Lines of synchronization generally do not have any polarity, so it does not matter which waypoint is clicked on and which is dragged to. There are some exceptions to this rule. With some waypoint types such as Get In and Join, the synchronizing link has greater significance than just timing in this case, it defines which group shall join and which shall be joined. See those waypoints types descriptions for details. Game Logic's OR type waypoint