Skip to content

Instantly share code, notes, and snippets.

@commy2
Created July 6, 2020 20:39
Show Gist options
  • Save commy2/cf133d01593967e79260c02b70136c91 to your computer and use it in GitHub Desktop.
Save commy2/cf133d01593967e79260c02b70136c91 to your computer and use it in GitHub Desktop.
private _pairs = [
[PunktEins, "wpPunkt11"],
[PunktZwei, "wpPunkt21"],
[PunktDrei, "wpPunkt22"],
[PunktVier, "wpPunkt31"],
[PunktFuenf, "wpPunkt32"],
[PunktSechs, "wpPunkt33"],
[PunktSieben, "wpPunkt34"],
[PunktAcht, "wpPunkt41"],
[PunktNeun, "wpPunkt42"],
[PunktZehn, "wpPunkt51"]
];
while {PunktestandOpfor < 101} do {
{
_x params ["_state", "_marker"];
waitUntil {!_state};
private _waypoint = _BlueforHunterEins addWaypoint [getMarkerPos _marker, 0];
_waypoint setWaypointType "Move";
_waypoint setWaypointSpeed "Full";
_waypoint setWaypointBehaviour "Safe";
_waypoint setWaypointCombatMode "Red";
_waypoint setWaypointFormation "Wedge";
} forEach _pairs;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment