Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!isDedicated) then
- {
- [] execVM "firstzone.sqf";
- [] execVM "secondzone.sqf";
- [] execVM "thirdzone.sqf";
- };
- ---firstzone.sqf
- tanks = [tank1, tank2];
- if (player == KS) then
- {
- [
- brdm,
- "Танки находятся в первой зоне",
- "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa",
- "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa",
- "(_this distance _target < 3) && (alive _target)",
- "(_this distance _target < 3) && !(alive _this)",
- {},
- {},
- {
- if (({(_x inArea "odin")} count tanks) == 2) then
- {
- ["Победа атаки! Танки обнаружены", EAST] call a3a_fnc_endMission;
- } else
- {
- ["Маскировка танков обеспечила победу в наступлении. Победа обороны", west] call a3a_fnc_endMission;};
- },
- {},
- [],
- 15,
- 0,
- true,
- false
- ] call BIS_fnc_holdActionAdd;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement