Guest User

Untitled

a guest
May 25th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. while {true} do {
  2. sleep 15;
  3.  
  4. if (triggerActivated end1) then{
  5. _this spawn {
  6. _text = format [
  7. "Mission End - NVA forces have been eliminated. Chu Lai is once again under U.S. control."];
  8.  
  9. titleText [_text, "BLACK"];
  10. removeAllWeapons player;
  11. player enableSimulation false;
  12. sleep 1;
  13. if (!isNil "specPen") then {
  14. player setPos (getPos specPen);
  15. };
  16.  
  17. sleep 10;
  18. endMission "LOSER";
  19. };
  20. };
  21.  
  22. };
  23.  
  24. while {true} do {
  25. sleep 15;
  26.  
  27. if (triggerActivated end2) then{
  28. _this spawn {
  29. _text = format [
  30. "Mission End - U.S. forces have re-captured the Chu Lai airfield. Chu Lai is once again under U.S. control."];
  31.  
  32. titleText [_text, "BLACK"];
  33. removeAllWeapons player;
  34. player enableSimulation false;
  35. sleep 1;
  36. if (!isNil "specPen") then {
  37. player setPos (getPos specPen);
  38. };
  39.  
  40. sleep 10;
  41. endMission "LOSER";
  42. };
  43. };
  44.  
  45. };
  46.  
  47. while {true} do {
  48. sleep 15;
  49.  
  50. if (triggerActivated end3) then{
  51. _this spawn {
  52. _text = format [
  53. "Mission End - U.S. forces have been eliminated. Chu Lai remains under NVA control."];
  54.  
  55. titleText [_text, "BLACK"];
  56. removeAllWeapons player;
  57. player enableSimulation false;
  58. sleep 1;
  59. if (!isNil "specPen") then {
  60. player setPos (getPos specPen);
  61. };
  62.  
  63. sleep 10;
  64. endMission "LOSER";
  65. };
  66. };
  67.  
  68. };
  69.  
  70. _time = time;
  71. _minsWait = 30; //Minutes to wait before continue
  72. waituntil {((time - _time) > (60 * _minsWait) )};
  73. _this spawn {
  74. _text = format [
  75. "Mission End - U.S. Forces have been held off. Chu Lai remains under NVA control."];
  76.  
  77. titleText [_text, "BLACK"];
  78. removeAllWeapons player;
  79. player enableSimulation false;
  80. sleep 1;
  81. if (!isNil "specPen") then {
  82. player setPos (getPos specPen);
  83. };
  84.  
  85. sleep 10;
  86. endMission "LOSER";
  87. };
Add Comment
Please, Sign In to add comment