Advertisement
Guest User

ArmA 3 Strategic Map Teleporting

a guest
Nov 1st, 2014
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. to_MHQ1 =
  2. {
  3. _unit = player;
  4. _unit moveInCargo MHQ1;
  5. [] call TAG_fnc_showOSD;
  6. };
  7.  
  8. to_p1 =
  9. {
  10. _unit = player;
  11. _unit setPos (getMarkerPos "p1mrk");
  12. [] call TAG_fnc_showOSD;
  13. };
  14.  
  15. to_p2 =
  16. {
  17. _unit = player;
  18. _unit setPos (getMarkerPos "p2mrk");
  19. [] call TAG_fnc_showOSD;
  20. };
  21.  
  22. to_p3 =
  23. {
  24. _unit = player;
  25. _unit setPos (getMarkerPos "p3mrk");
  26. [] call TAG_fnc_showOSD;
  27. };
  28.  
  29. to_p4 =
  30. {
  31. _unit = player;
  32. _unit setPos (getMarkerPos "p4mrk");
  33. [] call TAG_fnc_showOSD;
  34. };
  35.  
  36. to_p5 =
  37. {
  38. _unit = player;
  39. _unit setPos (getMarkerPos "p5mrk");
  40. [] call TAG_fnc_showOSD;
  41. };
  42.  
  43. to_p6 =
  44. {
  45. _unit = player;
  46. _unit setPos (getMarkerPos "p6mrk");
  47. [] call TAG_fnc_showOSD;
  48. };
  49.  
  50. to_p7 =
  51. {
  52. _unit = player;
  53. _unit setPos (getMarkerPos "p7mrk");
  54. [] call TAG_fnc_showOSD;
  55. };
  56.  
  57. to_p8 =
  58. {
  59. _unit = player;
  60. _unit setPos (getMarkerPos "p8mrk");
  61. [] call TAG_fnc_showOSD;
  62. };
  63.  
  64. to_p9 =
  65. {
  66. _unit = player;
  67. _unit setPos (getMarkerPos "p9mrk");
  68. [] call TAG_fnc_showOSD;
  69. };
  70.  
  71. to_p10 =
  72. {
  73. _unit = player;
  74. _unit setPos (getMarkerPos "p10mrk");
  75. [] call TAG_fnc_showOSD;
  76. };
  77.  
  78. to_p11 =
  79. {
  80. _unit = player;
  81. _unit setPos (getMarkerPos "p11mrk");
  82. [] call TAG_fnc_showOSD;
  83. };
  84.  
  85. _missionsData = [
  86. [getmarkerpos "MHQ1mrk",to_MHQ1,"MHQ","To MHQ1","","",1,[]],
  87. [getmarkerpos "p1mrk",to_p1,"Squad Leader","To the Squad Leader","","",1,[]],
  88. [getmarkerpos "p2mrk",to_p2,"Team Leader 1","To Team Leader 1","","",1,[]],
  89. [getmarkerpos "p3mrk",to_p3,"Grenadier","To the Grenadier","","",1,[]],
  90. [getmarkerpos "p4mrk",to_p4,"Medic","To the Medic","","",1,[]],
  91. [getmarkerpos "p5mrk",to_p5,"Autorifleman","To the Autorifleman","","",1,[]],
  92. [getmarkerpos "p6mrk",to_p6,"Team Leader 2","To Team Leader 2","","",1,[]],
  93. [getmarkerpos "p7mrk",to_p7,"Explosive Specialist","To the Explosive Specialist","","",1,[]],
  94. [getmarkerpos "p8mrk",to_p8,"Anti-Tank","To the AT Soldier","","",1,[]],
  95. [getmarkerpos "p9mrk",to_p9,"Engineer","To the Engineer","","",1,[]],
  96. [getmarkerpos "p10mrk",to_p10,"Sniper","To the Sniper","","",1,[]],
  97. [getmarkerpos "p11mrk",to_p11,"Spotter","To the Spotter","","",1,[]]
  98. ];
  99.  
  100. disableserialization;
  101.  
  102. _parentDisplay = [] call bis_fnc_displayMission;
  103. _mapCenter = getmarkerpos "respawn_west";
  104. _ORBAT = [];
  105. _markers = [];
  106. _images = [];
  107. _overcast = overcast;
  108. _isNight = !((dayTime > 6) && (dayTime < 20));
  109. _scale = 0.3;
  110. _simul = true;
  111.  
  112. [
  113. findDisplay 46,
  114. _mapCenter,
  115. _missionsData,
  116. _ORBAT,
  117. _markers,
  118. _images,
  119. _overcast,
  120. _isNight,
  121. _scale,
  122. _simul
  123. ] call Bis_fnc_strategicMapOpen;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement