Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fob1Resupplied = false;
- _resupply = 0;
- while {!fob1Resupplied} do
- {
- _handled = false;
- _amount = 0;
- if (!_handled && (ft1 distance FOB1 < 65)) then
- {
- _handled = true;
- _amount = 1;
- if (ft2 distance FOB1 < 65) then
- {
- _amount = 2;
- };
- };
- if (!_handled && (ft2 distance FOB1 < 65)) then
- {
- _handled = true;
- _amount = 1;
- if (ft1 distance FOB1 < 65) then
- {
- _amount = 2;
- };
- };
- _resupply = _resupply + _amount;
- if (_resupply > 1 && _resupply <10) then
- {
- hintSilent "Resupplying Base";
- sleep 10;
- coyhq_b setVehicleInit 'coyhq_b globalChat "Convoy this is Pheonix HQ. We have recieved ISAF chatter about 3 mortar positions in your vicinity. Eliminate this threat.";';
- processInitCommands;
- "Mortar_sobj" setMarkerType "Warning";
- hint "Map Updated";
- };
- if (_resupply > 360) then
- {
- fob1Resupplied = true;
- obj1 setTaskState "Succeeded";
- hint "FOB Ghazni resupplied";
- };
- sleep 1;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement