Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _unit = _this select 0;
- // Don't start the script until the unit is below a height of 2, and make sure they hold that
- // height for at least 3 seconds.
- WaitUntil{(getPos _unit select 2)<2};
- sleep 3;
- if((getPos _unit select 2)>2) exitWith{};
- WaitUntil{speed _unit < 2};
- sleep 3;
- if(speed _unit > 5) exitWith{};
- // Make sure unit is inside one of these lists (trigger areas)
- if( not (_unit in list rearm1) and not (_unit in list rearm2) and not (_unit in list rearm3) and not (_unit in list rearm4)) exitWith{};
- _unit VehicleChat "Rearming...";
- sleep 10;
- _unit setVehicleAmmo 1;
- _unit VehicleChat "Finished.";
- if(true) exitWith{};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement