Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. [pod5, door3] call BIS_fnc_attachToRelative;
  2. pod5 addAction["Drop", {
  3. [] spawn {
  4. sleep 5;
  5. player sideChat "3";
  6. sleep 1;
  7. player sideChat "2";
  8. sleep 1;
  9. player sideChat "1";
  10. sleep 1;
  11. player sideChat "DROPPING";
  12.  
  13. detach pod5;
  14. pod5 setVelocityModelSpace[0, 0, -2];
  15. };
  16. }];
  17.  
  18. pod5 addAction["Deploy Chute", {
  19. [] spawn {
  20. _chute = "OPTRE_HEV_Chute" createVehicle [0,0,0];
  21. _chute attachTo [pod5, [0,-0.2,1.961]];
  22. _chuteArray pushBack _chute;
  23.  
  24. _chute animate ["wing1_rotation",1];
  25. _chute animate ["wing2_rotation",1];
  26. _chute animate ["wing3_rotation",1];
  27. _chute animate ["wing4_rotation",1];
  28.  
  29. sleep .5;
  30.  
  31. _chute animate ["wing1_rotation",0];
  32. _chute animate ["wing2_rotation",0];
  33. _chute animate ["wing3_rotation",0];
  34. _chute animate ["wing4_rotation",0];
  35.  
  36. player sideChat "Deploying Chute";
  37. pod5 setVelocityModelSpace[0, 0, -5];
  38.  
  39. sleep 3;
  40.  
  41. detach _chute;
  42. _chute setVelocity [(random 2.5),(random 2.5),20];
  43. };
  44. }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement