Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. //SCRIPT(spawnWeapons);
  2.  
  3. if(isserver)then{
  4.  
  5. _veh = _this select 0;
  6.  
  7. _group = creategroup west;
  8. _ciws = "CUP_WV_B_Phalanx";
  9. _ss = "CUP_WV_B_SS_Launcher_Naval";
  10. _ram = "CUP_WV_B_RAM_Launcher_Naval";
  11.  
  12. _ciws_1 = createvehicle [_ciws,[0,0,0],[],0,"NONE"];
  13. _ciws_1 attachto [_veh,[-8.4,-21.3,5]];
  14.  
  15. _ciws_2 = createvehicle [_ciws,[0,0,0],[],0,"NONE"];
  16. _ciws_2 attachto [_veh,[13.6,123.8,-7.8]];
  17.  
  18. _ss_1 = createvehicle [_ss,[0,0,0],[],0,"NONE"];
  19. _ss_1 attachto [_veh,[-12.1,-33.6,1]];
  20.  
  21. _ss_2 = createvehicle [_ss,[0,0,0],[],0,"NONE"];
  22. _ss_2 attachto [_veh,[0,123,-6]];
  23.  
  24. _ram_1 = createvehicle [_ram,[0,0,0],[],0,"NONE"];
  25. _ram_1 attachto [_veh,[-12.1,-41.1,2]];
  26.  
  27. _ram_2 = createvehicle [_ram,[0,0,0],[],0,"NONE"];
  28. _ram_2 attachto [_veh,[-13.6,124.2,-7.8]];
  29.  
  30. _weapons1 = [_ciws_1,_ss_1,_ram_1];
  31. _weapons2 = [_ciws_2,_ss_2,_ram_2];
  32. {
  33. detach _x;
  34. _x setdir (getdir _veh)-180;
  35. [_x] joinsilent _group;
  36. createvehiclecrew _x;
  37. }foreach _weapons1;
  38. {
  39. detach _x;
  40. [_x] joinsilent _group;
  41. createvehiclecrew _x;
  42. }foreach _weapons2;
  43. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement