Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {null=[]spawn{
- _i=100;
- if(((vehicle player iskindof "Plane") || (vehicle player iskindof "Helicopter")) && (side player == west))then{
- _bomb = "FIR_GBU24A_BLU118";
- if ((( getposatl vehicle player) select 2 > 750) || (( getposatl vehicle player) select 2 < 10)) then{
- private _degree=0;
- private _position1 = vehicle player getRelPos [0,0];
- private _newPos1 = _position1 vectorAdd [0,0,720];
- _missile = createVehicle [_bomb, _newpos1, [], 0, "CAN_COLLIDE"];
- triggerammo _missile;
- for "_i" from 0 to 3 do{
- private _rand_num = [10, 250] call BIS_fnc_randomInt;
- private _position1 = vehicle player getRelPos [_rand_num,_degree];
- private _newPos1 = _position1 vectorAdd [0,0,720];
- _missile1 = createVehicle [_bomb, _newpos1, [], 0, "CAN_COLLIDE"];
- triggerammo _missile1;
- _degree = _degree +90;
- };
- }else{
- _missile = createVehicle [_bomb, vehicle player, [], 0, "CAN_COLLIDE"];
- triggerammo _missile;
- for "_i" from 0 to 3 do{
- private _rand_num = [10, 250] call BIS_fnc_randomInt;
- private _rand_num1 = [10, 250] call BIS_fnc_randomInt;
- private _position1 = getposatl vehicle player;
- private _newPos1 = _position1 vectorAdd [_rand_num,_rand_num1];
- if (_i ==3) then{
- };
- _missile1 = createVehicle [_bomb, _newpos1, [], 0, "CAN_COLLIDE"];
- triggerammo _missile1;
- };
- };
- }
- };}forEach playableUnits;
- playSound "burst_missile_global_sfx";
- deletevehicle p2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement