Start dedicated server
join
execute on the server
[] spawn {
for "_i" from 0 to 100 do {
_uav = createVehicle ["B_UAV_01_F", [0,0,10000], [], 0, "FLY"];
createVehicleCrew _uav;
sleep 0.1;
_uav setDamage 1;
sleep 0.1;
deleteVehicle _uav;
};
};
enjoy your client dropping to its knees.
After 10 seconds execute on the server
diag_log alldeadmen => []
execute on the client
hint str alldeadmen => 100 dead AIs!!!
execute on the client
{deletevehicle _x} foreach alldeadmen;
hint str alldeadmen => 100 dead AIs!!!
execute on the client
logentities
as a bonus.