SHARE
TWEET

Untitled

a guest Apr 20th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ARMA3.RU Mission Template
  2.  
  3. enableSaving [false, false];
  4.  
  5. 0 = execVM "add_med.sqf";
  6.  
  7. setTerrainGrid 2;
  8.  
  9. // Init modules
  10. #include "a3a_modules.hpp"
  11. {
  12.     [] execVM "A3A_MODULES\" + _x + "\init.sqf";
  13. } forEach A3A_MODULES;
  14.  
  15. player createDiaryRecord ["diary", ["Условности миссии", loadFile "A3A_BRIEFING\briefing_MISSION_CONV.html"]];
  16.  
  17. waitUntil{sleep 10; a3a_var_started};
  18. ["Squad Games"] spawn BIS_fnc_infoText;
  19.  
  20. if (playerside == east) then {
  21. private ["_vip"];
  22. laptopHack = false; publicVariable "laptopHack";
  23.  
  24. [    
  25.     vip,
  26.     "Опознать тело",
  27.     "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa",
  28.     "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa",
  29.     "(_this distance _target < 2) && (!alive vip)",
  30.     "(_this distance _target < 2) && (alive _this)",
  31.     {cutText ["Идет опознание. . .","PLAIN",2];},
  32.     {},
  33.     {cutText ["Личность подтверждена...","PLAIN",2]; laptopHack = true; publicVariable "laptopHack";},
  34.     {},
  35.     [],
  36.     30,
  37.     nil,
  38.     true,
  39.     false
  40. ] call BIS_fnc_holdActionAdd;
  41. };
  42.  
  43. if (isServer) then {
  44. [] spawn {
  45. waitUntil { sleep 10; a3a_var_started };
  46. _vll2 = 0;
  47. while {isNil "srv_triggerFinished"} do {
  48.         sleep 3;
  49.         if (_vll2 == 0) then {
  50.             if (laptopHack) then {
  51.                 _vll2 = 1;
  52.             };
  53.         };
  54.         if (_vll2 == 1) then {    
  55.         srv_triggerFinished = true;
  56.         ["Дусуд ликвидирован, победа атаки!", EAST] call a3a_fnc_endMission;
  57.         };
  58.     };
  59. };
  60. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top