Same tweak to civilian waypoints
This commit is contained in:
parent
012e59cf44
commit
df38283fcf
|
@ -3,37 +3,46 @@ _basepos = getpos (leader _grp);
|
|||
|
||||
while {(count (waypoints _grp)) != 0} do {deleteWaypoint ((waypoints _grp) select 0);};
|
||||
{_x doFollow leader _grp} foreach units _grp;
|
||||
_waypoint = _grp addWaypoint [_basepos, 150];
|
||||
|
||||
private _wpPositions = [
|
||||
_basepos getPos [random 150, random 360],
|
||||
_basepos getPos [random 150, random 360],
|
||||
_basepos getPos [random 150, random 360],
|
||||
_basepos getPos [random 150, random 360],
|
||||
_basepos getPos [random 150, random 360]
|
||||
];
|
||||
|
||||
_waypoint = _grp addWaypoint [_wpPositions select 0, 10];
|
||||
_waypoint setWaypointType "MOVE";
|
||||
_waypoint setWaypointBehaviour "SAFE";
|
||||
_waypoint setWaypointSpeed "LIMITED";
|
||||
_waypoint setWaypointCombatMode "BLUE";
|
||||
_waypoint setWaypointCompletionRadius 5;
|
||||
|
||||
_waypoint = _grp addWaypoint [_basepos, 150];
|
||||
_waypoint = _grp addWaypoint [_wpPositions select 1, 10];
|
||||
_waypoint setWaypointType "MOVE";
|
||||
_waypoint setWaypointBehaviour "SAFE";
|
||||
_waypoint setWaypointSpeed "LIMITED";
|
||||
_waypoint setWaypointCombatMode "BLUE";
|
||||
_waypoint setWaypointCompletionRadius 5;
|
||||
|
||||
_waypoint = _grp addWaypoint [_basepos, 150];
|
||||
_waypoint = _grp addWaypoint [_wpPositions select 2, 10];
|
||||
_waypoint setWaypointType "MOVE";
|
||||
_waypoint setWaypointBehaviour "SAFE";
|
||||
_waypoint setWaypointSpeed "LIMITED";
|
||||
_waypoint setWaypointCombatMode "BLUE";
|
||||
_waypoint setWaypointCompletionRadius 5;
|
||||
|
||||
_waypoint = _grp addWaypoint [_basepos, 150];
|
||||
_waypoint = _grp addWaypoint [_wpPositions select 3, 10];
|
||||
_waypoint setWaypointType "MOVE";
|
||||
_waypoint setWaypointBehaviour "SAFE";
|
||||
_waypoint setWaypointSpeed "LIMITED";
|
||||
_waypoint setWaypointCombatMode "BLUE";
|
||||
_waypoint setWaypointCompletionRadius 5;
|
||||
|
||||
_waypoint = _grp addWaypoint [_basepos, 150];
|
||||
_waypoint = _grp addWaypoint [_wpPositions select 4, 10];
|
||||
_waypoint setWaypointType "CYCLE";
|
||||
_waypoint setWaypointBehaviour "SAFE";
|
||||
_waypoint setWaypointSpeed "LIMITED";
|
||||
_waypoint setWaypointCombatMode "BLUE";
|
||||
_waypoint setWaypointCompletionRadius 5;
|
||||
_waypoint setWaypointCompletionRadius 5;
|
||||
|
|
Loading…
Reference in New Issue