is sea patrol actually working? i used it on thirsk, but while doing the mission, i found a rhib with 2 blufor guys in a forest. Boat was burned down, soldiers were dead. Why was that boat manned with blufor, and why was it in the forest
??
Code:
if (!isServer) exitWith{};
private [
"_vehicle",
"_vehicles",
"_plane",
"_driver",
"_arrayofvehicle"
];
_vehicles = [];
while { true } do {
if(count _vehicles < 2) then {
_plane = ["RHIB", "RHIB2Turret"] call BIS_fnc_selectRandom;
_arrayofvehicle =[[500,500, 0], 0, _plane , east] call BIS_fnc_spawnVehicle;
_vehicle = (_arrayovehicle select 0);
wcgarbage = [_vehicle] spawn WC_fnc_vehiclehandler;
_vehicles = _vehicles + [(_arrayovehicle select 0)];
_driver = ((_arrayofvehicle select 1) select 0);
wcgarbage = [_driver] spawn WC_fnc_airpatrol;
};
{
if!(alive _x) then {
_vehicles = _vehicles - [_x];
};
}foreach _vehicles;
sleep 240;
};
Can u explain that while loop? does _plane mean the boat is like randomly falling out of the sky and then it's driving on the water? that would explain why it exploded in the forest
i don't get that while loop, i don't understand, how a boat is being spawned