Jump to content
  • 0

Remove AI from trader cities


Havoc302

Question

Is there any easy way to remove AI from the trader cities? I want to be able to remove / teleport away the Cultists, Sappers, Drones and Soldiers. I've tried the below script with no success.

_westtraders = [6196,16833,0];
_centraltraders = [13331,14524,0];
_easttraders = [18460,14259,0];


while {true} do {
    sleep 2;
    if (player distance _westtraders < 250) then {
        {
            deleteVehicle _x;
        } forEach ((getPosATL _westtraders) nearEntities [["Epoch_Cloak_F","I_UAV_01_F","I_Soldier_Epoch_F","I_Soldier2_Epoch_F","I_Soldier3_Epoch_F","Epoch_Sapper_F","Epoch_SapperB_F"], 250]);
    };
}; 

while {true} do {
    sleep 2;
    if (player distance _centraltraders < 250) then {
        {
            deleteVehicle _x;
        } forEach ((getPosATL _centraltraders) nearEntities [["Epoch_Cloak_F","I_UAV_01_F","I_Soldier_Epoch_F","I_Soldier2_Epoch_F","I_Soldier3_Epoch_F","Epoch_Sapper_F","Epoch_SapperB_F"], 250]);
    };
}; 

while {true} do {
    sleep 2;
    if (player distance _easttraders < 250) then {
        {
            deleteVehicle _x;
        } forEach ((getPosATL _easttraders) nearEntities [["Epoch_Cloak_F","I_UAV_01_F","I_Soldier_Epoch_F","I_Soldier2_Epoch_F","I_Soldier3_Epoch_F","Epoch_Sapper_F","Epoch_SapperB_F"], 250]);
    };
}; 

I've also tried an adapted one of the safebase script from ARMA 2 Epoch that teleports them underground but that didn't work either.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...