V58 Tweaks

This commit is contained in:
second_coming 2016-08-11 09:50:48 +01:00
parent 03a3fcc2fa
commit 82279417a1
2 changed files with 7 additions and 10 deletions

View File

@ -55,7 +55,7 @@ if(time < 300) exitWith
if(!alive _selectedPlayer OR _distanceFromSelectedPlayer >= 500) then if(!alive _selectedPlayer OR _distanceFromSelectedPlayer >= 500) then
{ {
// Select a new target or despawn if not target near // Select a new target or despawn if not target near
_nearPlayers = player nearEntities ["Exile_Unit_Player", 250]; _nearPlayers = player nearEntities ["Exile_Unit_Player", 500];
{ {
_selectedPlayer = _x; _selectedPlayer = _x;
_playersPosition = position _selectedPlayer; _playersPosition = position _selectedPlayer;
@ -79,12 +79,12 @@ if(time < 300) exitWith
_group allowFleeing 0; _group allowFleeing 0;
_wp = _group addWaypoint [_destination, 0] ; _wp = _group addWaypoint [_destination, 0] ;
_wp setWaypointFormation "Column"; _wp setWaypointFormation "Column";
_wp setWaypointBehaviour "COMBAT"; _wp setWaypointBehaviour "AWARE";
_wp setWaypointCombatMode "RED"; _wp setWaypointCombatMode "RED";
_wp setWaypointCompletionRadius 25; _wp setWaypointCompletionRadius 25;
_wp setWaypointType "SAD"; _wp setWaypointType "SAD";
[_group, _destination, 500] call bis_fnc_taskPatrol; [_group, _destination, 350] call bis_fnc_taskPatrol;
_group allowFleeing 0; _group allowFleeing 0;
_group setBehaviour "AWARE"; _group setBehaviour "AWARE";
_group setCombatMode "RED"; _group setCombatMode "RED";
@ -103,9 +103,6 @@ if(time < 300) exitWith
} }
else else
{ {
{
}forEach units _group;
// Make sure the target is being hunted // Make sure the target is being hunted
_group reveal [_selectedPlayer,1.5]; _group reveal [_selectedPlayer,1.5];
@ -113,12 +110,12 @@ if(time < 300) exitWith
_group allowFleeing 0; _group allowFleeing 0;
_wp = _group addWaypoint [_destination, 0] ; _wp = _group addWaypoint [_destination, 0] ;
_wp setWaypointFormation "Column"; _wp setWaypointFormation "Column";
_wp setWaypointBehaviour "COMBAT"; _wp setWaypointBehaviour "AWARE";
_wp setWaypointCombatMode "RED"; _wp setWaypointCombatMode "RED";
_wp setWaypointCompletionRadius 25; _wp setWaypointCompletionRadius 25;
_wp setWaypointType "SAD"; _wp setWaypointType "SAD";
[_group, _destination, 500] call bis_fnc_taskPatrol; [_group, _destination, 350] call bis_fnc_taskPatrol;
_group allowFleeing 0; _group allowFleeing 0;
_group setBehaviour "AWARE"; _group setBehaviour "AWARE";
_group setCombatMode "RED"; _group setCombatMode "RED";
@ -338,12 +335,12 @@ SC_suitablePlayers = [];
_group allowFleeing 0; _group allowFleeing 0;
_wp = _group addWaypoint [_destination, 0] ; _wp = _group addWaypoint [_destination, 0] ;
_wp setWaypointFormation "Column"; _wp setWaypointFormation "Column";
_wp setWaypointBehaviour "COMBAT"; _wp setWaypointBehaviour "AWARE";
_wp setWaypointCombatMode "RED"; _wp setWaypointCombatMode "RED";
_wp setWaypointCompletionRadius 25; _wp setWaypointCompletionRadius 25;
_wp setWaypointType "SAD"; _wp setWaypointType "SAD";
[_group, _destination, 500] call bis_fnc_taskPatrol; [_group, _destination, 350] call bis_fnc_taskPatrol;
_group allowFleeing 0; _group allowFleeing 0;
_group setBehaviour "AWARE"; _group setBehaviour "AWARE";
_group setCombatMode "RED"; _group setCombatMode "RED";