Advertisement
Guest User

Untitled

a guest
Feb 18th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.91 KB | None | 0 0
  1. if (!isDedicated) then
  2. {
  3.     [] execVM "firstzone.sqf";
  4.     [] execVM "secondzone.sqf";
  5.     [] execVM "thirdzone.sqf";
  6. };
  7.  
  8. ---firstzone.sqf
  9. tanks = [tank1, tank2];
  10. if (player == KS) then
  11. {
  12. [  
  13.     brdm,
  14.     "Танки находятся в первой зоне",
  15.     "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa",
  16.     "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa",
  17.     "(_this distance _target < 3) && (alive _target)",
  18.     "(_this distance _target < 3) && !(alive _this)",
  19.     {},
  20.     {},
  21.     {
  22.     if (({(_x inArea "odin")} count tanks) == 2) then
  23.     {
  24.     ["Победа атаки! Танки обнаружены", EAST] call a3a_fnc_endMission;
  25.     } else
  26.     {
  27.     ["Маскировка танков обеспечила победу в наступлении. Победа обороны", west] call a3a_fnc_endMission;};
  28.     },
  29.     {},
  30.     [],
  31.     15,
  32.     0,
  33.     true,
  34.     false
  35. ] call BIS_fnc_holdActionAdd;
  36. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement