Jump to content

Thug

Member
  • Posts

    710
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by Thug

  1. I have installed this script on 5 servers now. They all work. Today after installing on Panthera, which is the 5th server. I noticed on my client side RPT the following:

    CLIENT SIDE
    Error in expression <s_bank_dialog = -1;
    player removeAction s_bank_dialog1;
    s_bank_dialog1 = -1;
    pla>
      Error position: <s_bank_dialog1;
    s_bank_dialog1 = -1;
    pla>
      Error Undefined variable in expression: s_bank_dialog1
    File mpmissions\__CUR_MP.Panthera2\dayz_code\compile\fn_selfActions.sqf, line 1220

    The script is working fine btw.   I looked at my fn_selfActions and cant see whats wrong

    Here is my fn_selfActions.sqf

    Spoiler

    scriptName "Functions\misc\fn_selfActions.sqf";
    /***********************************************************
        ADD ACTIONS FOR SELF
        - Function
        - [] call fnc_usec_selfActions;
    ************************************************************/
    private ["_canPickLight","_text","_unlock","_lock","_totalKeys","_temp_keys","_temp_keys_names","_restrict",
    "_hasKey","_oldOwner","_hasAttached","_isZombie","_isHarvested","_isMan","_isFuel","_hasRawMeat","_hastinitem","_player_deleteBuild",
    "_player_lockUnlock_crtl","_displayName","_hasIgnitors","_menu","_menu1","_allowTow","_liftHeli","_found","_posL","_posC","_height","_attached",
    "_combi","_findNearestGen","_humanity_logic","_low_high","_cancel","_buy","_buyV","_humanity","_traderMenu","_warn","_typeOfCursorTarget",
    "_isVehicle","_isBicycle","_isDestructable","_isGenerator","_ownerID","_isVehicletype","_hasBarrel","_hasFuel20","_hasFuel5","_hasEmptyFuelCan",
    "_itemsPlayer","_hasToolbox","_hasbottleitem","_isAlive","_isPlant","_istypeTent","_upgradeItems","_isDisallowRefuel","_isDog",
    "_isModular","_isModularDoor","_isHouse","_isGate","_isFence","_isLockableGate","_isUnlocked","_isOpen","_isClosed","_ownerArray","_ownerBuildLock",
    "_ownerPID","_speed","_dog","_vehicle","_inVehicle","_cursorTarget","_primaryWeapon","_currentWeapon","_magazinesPlayer","_onLadder","_canDo",
    "_nearLight","_vehicleOwnerID","_hasHotwireKit","_isPZombie","_dogHandle","_allowedDistance","_id","_upgrade","_weaponsPlayer","_hasCrowbar",
    "_allowed","_hasAccess","_uid"];

    _vehicle = vehicle player;
    _inVehicle = (_vehicle != player);
    _cursorTarget = cursorTarget;
    _primaryWeapon = primaryWeapon player;
    _currentWeapon = currentWeapon player;
    _magazinesPlayer = magazines player;
    _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
    _canDo = (!r_drag_sqf && !r_player_unconscious && !_onLadder);
    //_canDrink = count nearestObjects [getPosATL player, ["Land_pumpa","Land_water_tank"], 2] > 0;
    _uid = getPlayerUID player;
    _nearLight = nearestObject [player,"LitObject"];
    _canPickLight = false;
    _vehicleOwnerID = _vehicle getVariable ["CharacterID","0"];
    _hasHotwireKit = "ItemHotwireKit" in _magazinesPlayer;
    _isPZombie = player isKindOf "PZombie_VB";
    _dogHandle = player getVariable ["dogID",0];

    if (!isNull _nearLight) then {
        if (_nearLight distance player < 4) then {
            _canPickLight = isNull (_nearLight getVariable ["owner",objNull]);
        };
    };

    //Grab Flare
    if (_canPickLight && !dayz_hasLight && !_isPZombie) then {
        if (s_player_grabflare < 0) then {
            _text = getText (configFile >> "CfgAmmo" >> (typeOf _nearLight) >> "displayName");
            s_player_grabflare = player addAction [format[localize "str_actions_medical_15",_text], "\z\addons\dayz_code\actions\flare_pickup.sqf",_nearLight, 1, false, true];
            s_player_removeflare = player addAction [format[localize "str_actions_medical_17",_text], "\z\addons\dayz_code\actions\flare_remove.sqf",_nearLight, 1, false, true];
        };
    } else {
        player removeAction s_player_grabflare;
        player removeAction s_player_removeflare;
        s_player_grabflare = -1;
        s_player_removeflare = -1;
    };

    if (s_player_equip_carry < 0) then {
        if (dayz_onBack != "" && { !_inVehicle && { !_onLadder && { !r_player_unconscious } } }) then {
            dz_plr_carryActionItem = dayz_onBack;
            _text = getText (configFile >> "CfgWeapons" >> dz_plr_carryActionItem >> "displayName");
            s_player_equip_carry = player addAction [
                format [localize "STR_ACTIONS_WEAPON", _text],
                "\z\addons\dayz_code\actions\player_switchWeapon_action.sqf",
                nil, 0.5, false, true];
        };
    } else {
        if (dayz_onBack != dz_plr_carryActionItem || { _inVehicle || { _onLadder || { r_player_unconscious } } } ) then {
            player removeAction s_player_equip_carry;
            s_player_equip_carry = -1;
        };
    };

    /*if (dayz_onBack != "" /*&& !dayz_onBackActive && !_inVehicle && !_onLadder && !r_player_unconscious) then {
        if (s_player_equip_carry < 0) then {
            _text = getText (configFile >> "CfgWeapons" >> dayz_onBack >> "displayName");
            s_player_equip_carry = player addAction [format[localize "STR_ACTIONS_WEAPON", _text], "\z\addons\dayz_code\actions\player_switchWeapon_action.sqf", nil, 0.5, false, true];
        };
    } else {
        player removeAction s_player_equip_carry;
        s_player_equip_carry = -1;
    };*/

    //fishing
    if ((_currentWeapon in Dayz_fishingItems) && {!dayz_fishingInprogress} && {!_inVehicle} && {!dayz_isSwimming}) then {
        if (s_player_fishing < 0) then {
            s_player_fishing = player addAction [localize "STR_ACTION_CAST", "\z\addons\dayz_code\actions\player_goFishing.sqf",player, 0.5, false, true];
        };
    } else {
        player removeAction s_player_fishing;
        s_player_fishing = -1;
    };
    if ((_primaryWeapon in Dayz_fishingItems) && {!dayz_fishingInprogress} && {_inVehicle && (driver _vehicle != player)}) then {
        if (s_player_fishing_veh < 0) then {
            s_player_fishing_veh = _vehicle addAction [localize "STR_ACTION_CAST", "\z\addons\dayz_code\actions\player_goFishing.sqf",_vehicle, 0.5, false, true];
        };
    } else {
        _vehicle removeAction s_player_fishing_veh;
        s_player_fishing_veh = -1;
    };

    /* //Allows drinking from hands at ponds and ambient wells, but may negatively impact performance
    if (_canDo && !_inVehicle && !dayz_isSwimming && ((call fn_nearWaterHole) select 0)) then {
        if (s_player_Drinkfromhands < 0) then {
            s_player_Drinkfromhands = player addAction [localize "STR_ACTIONS_DRINK2", "\z\addons\dayz_code\actions\water_fill.sqf","hands", 0.5, false, true];
        };
    } else {
        if (s_player_Drinkfromhands >= 0) then {
            player removeAction s_player_Drinkfromhands;
            s_player_Drinkfromhands = -1;
        };
    };
    */

    if (_inVehicle) then {
        DZE_myVehicle = _vehicle;
        if (_vehicleOwnerID != "0" && _canDo) then {
            if (s_player_lockUnlockInside_ctrl < 0) then {
                _totalKeys = call epoch_tempKeys;
                _temp_keys = _totalKeys select 0;
                _temp_keys_names = _totalKeys select 1;    
                _hasKey = _vehicleOwnerID in _temp_keys;
                _oldOwner = (_vehicleOwnerID == _uid);
            
                _text = getText (configFile >> "CfgVehicles" >> (typeOf DZE_myVehicle) >> "displayName");
                if (locked DZE_myVehicle) then {
                    if (_hasKey || _oldOwner) then {
                        _unlock = DZE_myVehicle addAction [format[localize "STR_EPOCH_ACTIONS_UNLOCK",_text], "\z\addons\dayz_code\actions\unlock_veh.sqf",[DZE_myVehicle,(_temp_keys_names select (_temp_keys find _vehicleOwnerID))], 2, false, true];
                        s_player_lockUnlockInside set [count s_player_lockUnlockInside,_unlock];
                        s_player_lockUnlockInside_ctrl = 1;
                    } else {
                        if (_hasHotwireKit) then {
                            _unlock = DZE_myVehicle addAction [format[localize "STR_EPOCH_ACTIONS_HOTWIRE",_text], "\z\addons\dayz_code\actions\hotwire_veh.sqf",DZE_myVehicle, 2, true, true];
                        } else {
                            _unlock = DZE_myVehicle addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_VEHLOCKED"], "",DZE_myVehicle, 2, true, true];
                        };
                        s_player_lockUnlockInside set [count s_player_lockUnlockInside,_unlock];
                        s_player_lockUnlockInside_ctrl = 1;
                    };
                } else {
                    if (_hasKey || _oldOwner) then {
                        _lock = DZE_myVehicle addAction [format[localize "STR_EPOCH_ACTIONS_LOCK",_text], "\z\addons\dayz_code\actions\lock_veh.sqf",DZE_myVehicle, 1, false, true];
                        s_player_lockUnlockInside set [count s_player_lockUnlockInside,_lock];
                        s_player_lockUnlockInside_ctrl = 1;
                    };
                };
            };
        } else {
            {DZE_myVehicle removeAction _x} count s_player_lockUnlockInside;s_player_lockUnlockInside = [];
            s_player_lockUnlockInside_ctrl = -1;
        };
    } else {
        {DZE_myVehicle removeAction _x} count s_player_lockUnlockInside;s_player_lockUnlockInside = [];
        s_player_lockUnlockInside_ctrl = -1;
    };

    if (DZE_HeliLift) then {
        _hasAttached = _vehicle getVariable["hasAttached",false];
        if (_inVehicle && {_vehicle isKindOf "Air"} && {(([_vehicle] call FNC_getPos) select 2) < 30} && {speed _vehicle < 5} && {typeName _hasAttached == "OBJECT"}) then {
            if (s_player_heli_detach < 0) then {
                dayz_myLiftVehicle = _vehicle;
                s_player_heli_detach = dayz_myLiftVehicle addAction [localize "STR_EPOCH_ACTIONS_DETACHVEHICLE","\z\addons\dayz_code\actions\player_heliDetach.sqf",[dayz_myLiftVehicle,_hasAttached],2,false,true];
            };
        } else {
            dayz_myLiftVehicle removeAction s_player_heli_detach;
            s_player_heli_detach = -1;
        };
    };

    if (DZE_HaloJump) then {
        if (_inVehicle && {_vehicle isKindOf "Air"} && {(([_vehicle] call FNC_getPos) select 2) > 400}) then {
            if (s_halo_action < 0) then {
                DZE_myHaloVehicle = _vehicle;
                s_halo_action = DZE_myHaloVehicle addAction [localize "STR_EPOCH_ACTIONS_HALO","\z\addons\dayz_code\actions\halo_jump.sqf",[],2,false,true];
            };
        } else {
            DZE_myHaloVehicle removeAction s_halo_action;
            s_halo_action = -1;
        };
    };

    if (DZE_NameTags > 0) then {
        if (s_player_showname < 0 && !_isPZombie) then {
            if (DZE_NameTags < 2) then {
                s_player_showname = 1;
                player setVariable["DZE_display_name",true,true];
            } else {
                s_player_showname = player addAction [localize "STR_EPOCH_ACTIONS_NAMEYES", "\z\addons\dayz_code\actions\display_name.sqf",true, 0, true, false];
                s_player_showname1 = player addAction [localize "STR_EPOCH_ACTIONS_NAMENO", "\z\addons\dayz_code\actions\display_name.sqf",false, 0, true, false];
            };
        };
    };

    if (_isPZombie) then {
        if (s_player_attack < 0) then {
            s_player_attack = player addAction [localize "STR_EPOCH_ACTIONS_ATTACK", "\z\addons\dayz_code\actions\pzombie\pz_attack.sqf", _cursorTarget, 6, false, true];
        };
        if (s_player_callzombies < 0) then {
            s_player_callzombies = player addAction [localize "STR_EPOCH_ACTIONS_RAISEHORDE", "\z\addons\dayz_code\actions\pzombie\call_zombies.sqf",player, 5, true, false];
        };
        if (s_player_pzombiesvision < 0) then {
            s_player_pzombiesvision = player addAction [localize "STR_EPOCH_ACTIONS_NIGHTVIS", "\z\addons\dayz_code\actions\pzombie\pz_vision.sqf", [], 4, false, true, "nightVision", "_this == _target"];
        };
        if (!isNull _cursorTarget && (player distance _cursorTarget < 3)) then {
            _isZombie = _cursorTarget isKindOf "zZombie_base";
            _isHarvested = _cursorTarget getVariable["meatHarvested",false];
            _isMan = _cursorTarget isKindOf "Man"; //includes animals and zombies
            if (!alive _cursorTarget && _isMan && !_isZombie && !_isHarvested) then {
                if (s_player_pzombiesfeed < 0) then {
                    s_player_pzombiesfeed = player addAction [localize "STR_EPOCH_ACTIONS_FEED", "\z\addons\dayz_code\actions\pzombie\pz_feed.sqf",_cursorTarget, 3, true, false];
                };
            } else {
                player removeAction s_player_pzombiesfeed;
                s_player_pzombiesfeed = -1;
            };
        } else {
            player removeAction s_player_pzombiesfeed;
            s_player_pzombiesfeed = -1;
        };
    };

    // Increase distance only if AIR or SHIP
    _allowedDistance = if ((_cursorTarget isKindOf "Air") or (_cursorTarget isKindOf "Ship")) then {8} else {4};

    if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cursorTarget < _allowedDistance) && _canDo) then {
    //Has some kind of target
        _typeOfCursorTarget = typeOf _cursorTarget;
        _isVehicle = _cursorTarget isKindOf "AllVehicles";
        _isBicycle = _cursorTarget isKindOf "Bicycle";
        _isMan = _cursorTarget isKindOf "Man"; //includes animals and zombies
        _isDestructable = _cursorTarget isKindOf "BuiltItems";
        _isGenerator = _typeOfCursorTarget == "Generator_DZ";
        //_isVehicletype = _typeOfCursorTarget in ["ATV_US_EP1","ATV_CZ_EP1"]; //Checked in player_flipvehicle
        _isFuel = false;
        _hasBarrel = "ItemFuelBarrel" in _magazinesPlayer;
        _hasFuel20 = "ItemJerrycan" in _magazinesPlayer;
        _hasFuel5 = "ItemFuelcan" in _magazinesPlayer;
        _hasEmptyFuelCan = (("ItemJerrycanEmpty" in _magazinesPlayer) || ("ItemFuelcanEmpty" in _magazinesPlayer) || ("ItemFuelBarrelEmpty" in _magazinesPlayer));
        _itemsPlayer = items player;
        _weaponsPlayer = weapons player;
        _hasCrowbar = "ItemCrowbar" in _itemsPlayer or "MeleeCrowbar" in _weaponsPlayer or dayz_onBack == "MeleeCrowbar";
        _hasToolbox = "ItemToolbox" in _itemsPlayer;
        _hasbottleitem = (("ItemWaterBottle" in _magazinesPlayer) || {"ItemWaterBottleInfected" in _magazinesPlayer} || {"ItemWaterBottleSafe" in _magazinesPlayer} || {"ItemWaterBottleBoiled" in _magazinesPlayer});
        _isAlive = alive _cursorTarget;
        _text = getText (configFile >> "CfgVehicles" >> _typeOfCursorTarget >> "displayName");
        _isPlant = _typeOfCursorTarget in Dayz_plants;
        _istypeTent = (_cursorTarget isKindOf "TentStorage_base") or (_cursorTarget isKindOf "IC_Tent");
        _upgradeItems = ["TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","StashSmall","StashSmall1","StashSmall2","StashSmall3","StashSmall4","StashMedium","StashMedium1","StashMedium2","StashMedium3","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3","DesertTentStorage","DesertTentStorage0","DesertTentStorage1","DesertTentStorage2","DesertTentStorage3"];
        _characterID = _cursorTarget getVariable ["CharacterID","0"];
        
        if (DZE_permanentPlot) then {
            _id = _uid;
            _ownerID = _cursorTarget getVariable ["ownerPUID","0"];
        } else {
            _id = dayz_characterID;
            _ownerID = _characterID;
        };

        _isDisallowRefuel = _typeOfCursorTarget in ["M240Nest_DZ","MMT_Civ","MMT_USMC","Old_bike_TK_CIV_EP1","Old_bike_TK_INS_EP1"];    
        _isDog = (_cursorTarget isKindOf "Pastor" || _cursorTarget isKindOf "Fin");
        _isModular = _cursorTarget isKindOf "ModularItems";
        _isModularDoor = _typeOfCursorTarget in ["Land_DZE_WoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_GarageWoodDoor","CinderWallDoor_DZ","CinderWallDoorSmall_DZ"];
        _player_deleteBuild = false;
        _player_lockUnlock_crtl = false;
        
        //fuel tanks
        if (_hasEmptyFuelCan) then {
            {
                if (_cursorTarget isKindOf _x) exitWith {_isFuel = true;};
            } count dayz_fuelsources;
        };

        //remove gathered plant if empty
        if (_isPlant) then {
            _cursorTarget call player_gather;
        };

        //flip vehicle
        if (_isVehicle && {!_isMan} && {!(canMove _cursorTarget)} && {_isAlive} && {player distance _cursorTarget >= 2} && {(count (crew _cursorTarget))== 0} && {((vectorUp _cursorTarget) select 2) < 0.5}) then {
            if (s_player_flipveh < 0) then {
                s_player_flipveh = player addAction [format[localize "str_actions_flipveh",_text], "\z\addons\dayz_code\actions\player_flipvehicle.sqf",_cursorTarget, 1, true, true];
            };
        } else {
            player removeAction s_player_flipveh;
            s_player_flipveh = -1;
        };
        
        //Allow player to fill Fuel can
        if (_hasEmptyFuelCan && {_isFuel} && {!a_player_jerryfilling} && {_isAlive}) then {
            if (s_player_fillfuel < 0) then {
                s_player_fillfuel = player addAction [localize "str_actions_self_10", "\z\addons\dayz_code\actions\jerry_fill.sqf",_cursorTarget, 1, false, true];
            };
        } else {
            player removeAction s_player_fillfuel;
            s_player_fillfuel = -1;
        };
        
        if (damage _cursorTarget < 1) then {
            //Allow player to fill vehicle 210L
            if (_hasBarrel && {!_isMan} && {_isVehicle} && {fuel _cursorTarget < 1} && {!a_player_jerryfilling} && {!_isDisallowRefuel}) then {
                if (s_player_fillfuel210 < 0) then {
                    s_player_fillfuel210 = player addAction [format[localize "str_actions_medical_10",_text,"210"], "\z\addons\dayz_code\actions\refuel.sqf",["ItemFuelBarrel",_cursorTarget], 0, true, true, "", "'ItemFuelBarrel' in magazines player"];
                };
            } else {
                player removeAction s_player_fillfuel210;
                s_player_fillfuel210 = -1;
            };
            
            //Allow player to fill vehicle 20L
            if (_hasFuel20 && {!_isMan} && {_isVehicle} && {fuel _cursorTarget < 1} && {!a_player_jerryfilling} && {!_isDisallowRefuel}) then {
                if (s_player_fillfuel20 < 0) then {
                    s_player_fillfuel20 = player addAction [format[localize "str_actions_medical_10",_text,"20"], "\z\addons\dayz_code\actions\refuel.sqf",["ItemJerrycan",_cursorTarget], 0, true, true, "", "'ItemJerrycan' in magazines player"];
                };
            } else {
                player removeAction s_player_fillfuel20;
                s_player_fillfuel20 = -1;
            };

            //Allow player to fill vehicle 5L
            if (_hasFuel5 && {!_isMan} && {_isVehicle} && {fuel _cursorTarget < 1} && {!a_player_jerryfilling} && {!_isDisallowRefuel}) then {
                if (s_player_fillfuel5 < 0) then {
                    s_player_fillfuel5 = player addAction [format[localize "str_actions_medical_10",_text,"5"], "\z\addons\dayz_code\actions\refuel.sqf",["ItemFuelcan",_cursorTarget], 0, true, true, "", "'ItemFuelcan' in magazines player"];
                };
            } else {
                player removeAction s_player_fillfuel5;
                s_player_fillfuel5 = -1;
            };
            /*
                Vanilla generator is currently not functional.
                Vanilla generator refuel actions removed for now.
                Epoch generator fill action is below.
            */
            //Allow player to siphon vehicles
            if (_hasEmptyFuelCan && {!_isMan} && {_isVehicle} && {!_isBicycle} && {!a_player_jerryfilling} && {fuel _cursorTarget > 0}) then {
                if (s_player_siphonfuel < 0) then {
                    s_player_siphonfuel = player addAction [format[localize "str_siphon_start"], "\z\addons\dayz_code\actions\siphonFuel.sqf",_cursorTarget, 0, true, true];
                };
            } else {
                player removeAction s_player_siphonfuel;
                s_player_siphonfuel = -1;
            };
        } else {
            player removeAction s_player_fillfuel210;
            s_player_fillfuel210 = -1;
            player removeAction s_player_fillfuel20;
            s_player_fillfuel20 = -1;
            player removeAction s_player_fillfuel5;
            s_player_fillfuel5 = -1;
            player removeAction s_player_siphonfuel;
            s_player_siphonfuel = -1;
        };
        
        //Fireplace Actions check
        if ((_cursorTarget call isInflamed) or (inflamed _cursorTarget)) then {
            _hasRawMeat = {_x in Dayz_meatraw} count _magazinesPlayer > 0;
            //_hastinitem = {_x in boil_tin_cans} count _magazinesPlayer > 0;
            _hasunboiledwater = {_x in ["ItemWaterBottleInfected","ItemWaterBottle","ItemWaterBottleSafe","ItemWaterbottle1oz","ItemWaterbottle2oz","ItemWaterbottle3oz","ItemWaterbottle4oz","ItemWaterbottle5oz","ItemWaterbottle6oz","ItemWaterbottle7oz","ItemWaterbottle8oz","ItemWaterbottle9oz"]} count _magazinesPlayer > 0;

            
        //Cook Meat    
            if (_hasRawMeat && !a_player_cooking) then {
                if (s_player_cook < 0) then {
                    s_player_cook = player addAction [localize "str_actions_self_05", "\z\addons\dayz_code\actions\cook.sqf",_cursorTarget, 3, true, true];
                };
            }; 
        //Boil Water
            if (_hasunboiledwater && !a_player_boil) then {
                if (s_player_boil < 0) then {
                    s_player_boil = player addAction [localize "str_actions_boilwater", "\z\addons\dayz_code\actions\boil.sqf",_cursorTarget, 3, true, true];
                };
            };
        } else {
            if (a_player_cooking) then {
                player removeAction s_player_cook;
                s_player_cook = -1;
            };
            if (a_player_boil) then {
                player removeAction s_player_boil;
                s_player_boil = -1;
            };
        };
        
    //    Not needed.
    /*
        if(_cursorTarget == dayz_hasFire) then {
            if ((s_player_fireout < 0) && !(_cursorTarget call isInflamed) && (player distance _cursorTarget < 3)) then {
                s_player_fireout = player addAction [localize "str_actions_self_06", "\z\addons\dayz_code\actions\fire_pack.sqf",_cursorTarget, 0, false, true];
            };
        } else {
            player removeAction s_player_fireout;
            s_player_fireout = -1;
        };
    */
        if (_isAlive) then {
            _restrict = _typeOfCursorTarget in DZE_restrictRemoval;
        
            //Allow player to remove objects with no ownership or access required
            if (!_restrict && (_isDestructable || _typeOfCursorTarget in DZE_isWreck || _typeOfCursorTarget in DZE_isWreckBuilding || _typeOfCursorTarget in DZE_isRemovable)) then {
                if (_hasToolbox && _hasCrowbar) then {
                    _player_deleteBuild = true;
                };
            };
            //Allow player to remove objects only if they have proper ownership or access
            if (_restrict || _isModular || _isModularDoor || _isGenerator || _typeOfCursorTarget in DZE_isDestroyableStorage) then {
                if (_hasToolbox && _hasCrowbar) then {
                    _hasAccess = [player, _cursorTarget] call FNC_check_access;
                    if ((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3)) then {
                        _player_deleteBuild = true;
                    };
                };
            };        
            if (_isVehicle) then {
                if ((_characterID != "0") && {!_isMan}) then {
                    _player_lockUnlock_crtl = true;
                };
            };
        };
        
        if (_player_deleteBuild) then {
            if (s_player_deleteBuild < 0) then {
                s_player_deleteBuild = player addAction [format[localize "STR_EPOCH_REMOVE",_text], "\z\addons\dayz_code\actions\remove.sqf",_cursorTarget, 1, false, true];
            };
        } else {
            player removeAction s_player_deleteBuild;
            s_player_deleteBuild = -1;
        };

        //remove Own objects
        if (_ownerID == _id) then {
            //upgrade items
            if (_typeOfCursorTarget in _upgradeItems) then {
                if (s_player_upgradestorage < 0) then {
                    _displayName = getText (configFile >> "CfgVehicles" >> _typeOfCursorTarget >> "displayName");
                    s_player_upgradestorage = player addAction [format[localize "STR_EPOCH_UPGRADE",_displayName], "\z\addons\dayz_code\actions\object_upgradeStorage.sqf",_cursorTarget, 0, false, true];
                };
            } else {
                player removeAction s_player_upgradestorage;
                s_player_upgradestorage = -1
            };
            if (_istypeTent) then {
                //Packing my tent
                if (s_player_packtent < 0) then {
                    s_player_packtent = player addAction [localize "str_actions_self_07", "\z\addons\dayz_code\actions\tent_pack.sqf",_cursorTarget, 0, false, true];
                };
            } else {
                player removeAction s_player_packtent;
                s_player_packtent = -1;
            };
        } else {
            player removeAction s_player_upgradestorage;
            s_player_upgradestorage = -1;
            player removeAction s_player_packtent;
            s_player_packtent = -1;
        };
        //other tents
        if (_istypeTent) then {
            _hasIgnitors = {_x in DayZ_Ignitors} count _itemsPlayer > 0;
            if ((_hasFuel20 or _hasFuel5 or _hasBarrel) && _hasIgnitors) then {
                if (s_player_destroytent < 0) then {
                    s_player_destroytent = player addAction [localize "str_actions_self_destroytent", "\z\addons\dayz_code\actions\player_destroyTent.sqf",_cursorTarget, 0, false, true];
                };
            } else {
                player removeAction s_player_destroytent;
                s_player_destroytent = -1;
            };    
            if (_typeOfCursorTarget in ["IC_DomeTent","IC_Tent"]) then {
                if (s_player_packtentinfected < 0) then {
                    s_player_packtentinfected = player addAction [localize "str_actions_self_07", "\z\addons\dayz_code\actions\tent_pack.sqf",_cursorTarget, 0, false, true];
                };
            } else {
                player removeAction s_player_packtentinfected;
                s_player_packtentinfected = -1;
            };
            //sleep
            if (s_player_sleep < 0) then {
                s_player_sleep = player addAction [localize "str_actions_self_sleep", "\z\addons\dayz_code\actions\player_sleep.sqf",_cursorTarget, 0, false, true];
            };
        } else {
            player removeAction s_player_sleep;
            s_player_sleep = -1;
        };
        
        //Study Body
        if (_cursorTarget getVariable["bodyName",""] != "") then {
            if (s_player_studybody < 0) then {
                s_player_studybody = player addAction [localize "str_action_studybody", "\z\addons\dayz_code\actions\study_body.sqf",_cursorTarget, 0, false, true];
            };
        } else {
            player removeAction s_player_studybody;
            s_player_studybody = -1;
        };
    /*    
        //Carbomb
        _hasCarBomb = "ItemCarBomb" in _magazinesPlayer;
        if (((_cursorTarget isKindOf "Car") || (_cursorTarget isKindOf "Air") || (_cursorTarget isKindOf "Motorcycle")) && _hasCarBomb) then {
            if (s_player_attach_bomb < 0) then {
                s_player_attach_bomb = player addAction [localize "str_bombAttach", "\z\addons\dayz_code\actions\player_attach_bomb.sqf",_cursorTarget, 3, true, true];
            };
        } else {
                player removeAction s_player_attach_bomb;
                s_player_attach_bomb = -1;
        };
    */
        //Repairing Vehicles
        if (_isVehicle && {!_isMan} && {dayz_myCursorTarget != _cursorTarget} && {_hasToolbox} && {damage _cursorTarget < 1} && {_typeOfCursorTarget != "M240Nest_DZ"}) then {
            if (s_player_repair_crtl < 0) then {
                dayz_myCursorTarget = _cursorTarget;
                _menu = dayz_myCursorTarget addAction [localize "str_actions_repairveh", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false];
                if (!_isBicycle) then { //Bike wheels should not give full size tires. Also model does not update to show removed wheels.
                    if (!DZE_salvageLocked) then {
                        if (!locked _cursorTarget) then {
                            _menu1 = dayz_myCursorTarget addAction [localize "str_actions_salvageveh", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false];
                            s_player_repairActions set [count s_player_repairActions,_menu1];
                        };
                    } else {
                        _menu1 = dayz_myCursorTarget addAction [localize "str_actions_salvageveh", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false];
                        s_player_repairActions set [count s_player_repairActions,_menu1];
                    };
                };
                s_player_repairActions set [count s_player_repairActions,_menu];
                s_player_repair_crtl = 1;
            } else {
                {dayz_myCursorTarget removeAction _x} forEach s_player_repairActions;
                s_player_repairActions = [];
                s_player_repair_crtl = -1;
            };
        };
        /* //Vanilla base building currently not used in Epoch
        // House locking and unlocking
        _isHouse = _typeOfCursorTarget in ["SurvivorWorkshopAStage5", "SurvivorWorkshopBStage5", "SurvivorWorkshopCStage5"];
        _isGate = _typeOfCursorTarget in ["WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4","MetalGate_1","MetalGate_2","MetalGate_3","MetalGate_4"];
        _isFence = _typeOfCursorTarget in ["WoodenFence_1","WoodenFence_2","WoodenFence_3","WoodenFence_4","WoodenFence_5","WoodenFence_6","MetalFence_1","MetalFence_2","MetalFence_3","MetalFence_4","MetalFence_5","MetalFence_6","MetalFence_7"];

        //Only the owners can lock the gates
        _isLockableGate = _typeOfCursorTarget in ["WoodenGate_2","WoodenGate_3","WoodenGate_4","MetalGate_2","MetalGate_3","MetalGate_4"];
        _isUnlocked = _cursorTarget getVariable ["isOpen","0"] == "1";

        //Allow the gates to be opened when not locked by anyone
        _isOpen = ((_cursorTarget animationPhase "DoorL") == 1) || ((_cursorTarget animationPhase "DoorR") == 1);
        _isClosed = ((_cursorTarget animationPhase "DoorL") == 0) || ((_cursorTarget animationPhase "DoorR") == 0);
        
        //[["ownerArray",["PID"]]]
        _ownerArray = _cursorTarget getVariable ["ownerArray",["0"]];
        _ownerBuildLock = _cursorTarget getVariable ["BuildLock",false];    
        _ownerPID = (_ownerArray select 0);
        
        // open Gate
        if (_isGate && _isClosed && _isUnlocked) then {
            if (s_player_openGate < 0) then {
                s_player_openGate = player addAction [localize "STR_DN_OUT_O_GATE", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"Open"], 1, true, true];
            };
        } else {
            player removeAction s_player_openGate;
            s_player_openGate = -1;
        };
        // Close Gate
        if (_isGate && _isOpen && _isUnlocked) then {
            if (s_player_CloseGate < 0) then {
                s_player_CloseGate = player addAction [localize "STR_DN_OUT_C_GATE", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"Close"], 1, true, true];
            };
        } else {
            player removeAction s_player_CloseGate;
            s_player_CloseGate = -1;
        };
        // Set
        if ((_isHouse or _isLockableGate) && (_ownerPID == _uid) && !_isUnlocked && _isClosed) then {
            if (s_player_setCode < 0) then {
                s_player_setCode = player addAction [localize "STR_BLD_ACTIONS_SETLOCKCODE", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"Set"], 1, true, true];
            };
        } else {
            player removeAction s_player_setCode;
            s_player_setCode = -1;
        };
        //Lock Build point
        if ((_isFence or _isGate) && (_ownerPID == _uid) && !_ownerBuildLock) then {
            if (s_player_BuildLock < 0) then {
                s_player_BuildLock = player addAction [localize "STR_BLD_ACTIONS_LOCKBUILD", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"BuildLock"], 1, true, true];
            };
        } else {
            player removeAction s_player_BuildLock;
            s_player_BuildLock = -1;
        };
        //UnLock Build point
        if ((_isFence or _isGate) && (_ownerPID == _uid) && _ownerBuildLock) then {
            if (s_player_BuildUnLock < 0) then {
                s_player_BuildUnLock = player addAction [localize "STR_BLD_ACTIONS_UNLOCKBUILD", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"BuildUnLock"], 1, true, true];
            };
        } else {
            player removeAction s_player_BuildUnLock;
            s_player_BuildUnLock = -1;
        };
        // Unlock Gate/House
        if ((_isHouse or _isLockableGate) && !_isUnlocked && _isClosed) then {
            if (s_player_unlockhouse < 0) then {
                s_player_unlockhouse = player addAction [localize "STR_BLD_ACTIONS_UNLOCKGATE", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"Unlock"], 1, true, true];
            };
        } else {
            player removeAction s_player_unlockhouse;
            s_player_unlockhouse = -1;
        };
        // Lock Gate/House
        if ((_isHouse or _isLockableGate) && _isUnlocked && _isClosed) then {
            if (s_player_lockhouse < 0) then {
                s_player_lockhouse = player addAction [localize "STR_BLD_ACTIONS_LOCKGATE", "\z\addons\dayz_code\actions\player_operate.sqf",[_cursorTarget,"Lock"], 1, true, true];
            };
        } else {
            player removeAction s_player_lockhouse;
            s_player_lockhouse = -1;
        };
        //Break In
        if ((_isHouse or _isLockableGate) && (_ownerPID != _uid) && !_isUnlocked) then {
            if (s_player_breakinhouse < 0) then {
                s_player_breakinhouse = player addAction [localize "STR_BLD_ACTIONS_BREAKIN", "\z\addons\dayz_code\actions\player_breakin.sqf",_cursorTarget, 1, true, true];
            };
        } else {
            player removeAction s_player_breakinhouse;
            s_player_breakinhouse = -1;
        };*/
        if ((_cursorTarget isKindOf "Plastic_Pole_EP1_DZ") && {speed player <= 1}) then {
            _hasAccess = [player, _cursorTarget] call FNC_check_access;
            _allowed = ((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3) or (_hasAccess select 4));
            if (DZE_permanentPlot) then {
                if (s_player_plotManagement < 0 && _allowed) then {
                    s_player_plotManagement = player addAction [format["<t color='#0059FF'>%1</t>",localize "STR_EPOCH_ACTIONS_MANAGEPLOT"], "\z\addons\dayz_code\actions\plotManagement\initPlotManagement.sqf", [], 5, false];
                };
            } else {
                if (s_player_maintain_area < 0) then {
                    s_player_maintain_area = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_MAINTAREA"], "\z\addons\dayz_code\actions\maintain_area.sqf", "maintain", 5, false];
                    s_player_maintain_area_force = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_FORCE_MAINTAREA"], "\z\addons\dayz_code\actions\maintain_area.sqf", "force", 5, false];
                    s_player_maintain_area_preview = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_MAINTPREV"], "\z\addons\dayz_code\actions\maintain_area.sqf", "preview", 5, false];
                };
            };
            if (s_player_plot_boundary < 0 && (_allowed or (_hasAccess select 1))) then {
                s_player_plot_boundary = player addAction [localize "STR_EPOCH_PLOTMANAGEMENT_SHOW_BOUNDARY", "\z\addons\dayz_code\actions\plotManagement\plotToggleMarkers.sqf", "", 1, false];
            };
        } else {
            player removeAction s_player_plotManagement;
            s_player_plotManagement = -1;
            player removeAction s_player_maintain_area;
            s_player_maintain_area = -1;
            player removeAction s_player_maintain_area_force;
            s_player_maintain_area_force = -1;
            player removeAction s_player_maintain_area_preview;
            s_player_maintain_area_preview = -1;
            player removeAction s_player_plot_boundary;
            s_player_plot_boundary = -1;
        };
        
        if (DZE_HeliLift) then {
            _liftHeli = objNull;
            _found = false;    
            _allowTow = false;
            if ((count (crew _cursorTarget)) == 0) then {
                {
                    if (!_allowTow) then {
                        _allowTow = _cursorTarget isKindOf _x;
                    };
                } count DZE_HeliAllowToTow;
            };

            if (_allowTow) then {
                {
                    if (!_found) then {
                        _posL = [_x] call FNC_getPos;
                        _posC = [_cursorTarget] call FNC_getPos;
                        _height = (_posL select 2) - (_posC select 2);
                        _hasAttached = _x getVariable["hasAttached",false];
                        if ((_height < 15) && {_height > 5} && {typeName _hasAttached != "OBJECT"}) then {
                            if (((abs((_posL select 0) - (_posC select 0))) < 10) && {(abs((_posL select 1) - (_posC select 1))) < 10}) then {
                                _liftHeli = _x;
                                _found = true;
                            };
                        };
                    };
                } count (player nearEntities [DZE_HeliAllowTowFrom,15]);
            };

            _attached = _cursorTarget getVariable["attached",false];
            if (_found && {_allowTow} && {!locked _cursorTarget} && {!_isPZombie} && {typeName _attached != "OBJECT"}) then {
                if (s_player_heli_lift < 0) then {
                    s_player_heli_lift = player addAction [localize "STR_EPOCH_ACTIONS_ATTACHTOHELI", "\z\addons\dayz_code\actions\player_heliLift.sqf",[_liftHeli,_cursorTarget], -10, false, true];
                };
            } else {
                player removeAction s_player_heli_lift;
                s_player_heli_lift = -1;
            };
        };
        
        // Allow Owner to lock and unlock vehicle  
        if (_player_lockUnlock_crtl) then {
            if (s_player_lockUnlock_crtl < 0) then {
                _totalKeys = call epoch_tempKeys;
                _temp_keys = _totalKeys select 0;
                _temp_keys_names = _totalKeys select 1;
                _hasKey = _characterID in _temp_keys;
                _oldOwner = (_characterID == _uid);
                if (locked _cursorTarget) then {
                    if (_hasKey || _oldOwner) then {
                        _unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_UNLOCK",_text], "\z\addons\dayz_code\actions\unlock_veh.sqf",[_cursorTarget,(_temp_keys_names select (_temp_keys find _characterID))], 2, true, true];
                        s_player_lockunlock set [count s_player_lockunlock,_unlock];
                        s_player_lockUnlock_crtl = 1;
                    } else {
                        if (_hasHotwireKit) then {
                            _unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_HOTWIRE",_text], "\z\addons\dayz_code\actions\hotwire_veh.sqf",_cursorTarget, 2, true, true];
                        } else {
                            _unlock = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_VEHLOCKED"], "",_cursorTarget, 2, false, true];
                        };
                        s_player_lockunlock set [count s_player_lockunlock,_unlock];
                        s_player_lockUnlock_crtl = 1;
                    };
                } else {
                    if (_hasKey || _oldOwner) then {
                        _lock = player addAction [format[localize "STR_EPOCH_ACTIONS_LOCK",_text], "\z\addons\dayz_code\actions\lock_veh.sqf",_cursorTarget, 1, true, true];
                        s_player_lockunlock set [count s_player_lockunlock,_lock];
                        s_player_lockUnlock_crtl = 1;
                    };
                };
            };     
        } else {
            {player removeAction _x} count s_player_lockunlock;s_player_lockunlock = [];
            s_player_lockUnlock_crtl = -1;
        };
        
        // gear access on surrendered player
        if (isPlayer _cursorTarget && {_isAlive} && {_cursorTarget getVariable ["DZE_Surrendered",false]}) then {
            if (s_player_SurrenderedGear < 0) then {
                s_player_SurrenderedGear = player addAction [localize "STR_UI_GEAR", "\z\addons\dayz_code\actions\surrender_gear.sqf",_cursorTarget, 1, true, true];
            };
        } else {
            player removeAction s_player_SurrenderedGear;
            s_player_SurrenderedGear = -1;
        };

        // Allow manage door
        if (DZE_doorManagement && (_typeOfCursorTarget in DZE_DoorsLocked)) then {
            // Check player access
            _hasAccess = [player, _cursorTarget] call FNC_check_access;
            if (s_player_manageDoor < 0 && ((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3) or (_hasAccess select 4) or (_hasAccess select 5) or (_hasAccess select 6))) then {
                s_player_manageDoor = player addAction [format["<t color='#0059FF'>%1</t>", localize "STR_EPOCH_ACTIONS_MANAGEDOOR"], "\z\addons\dayz_code\actions\doorManagement\initDoorManagement.sqf", _cursorTarget, 5, false];
            };
        } else {
            player removeAction s_player_manageDoor;
            s_player_manageDoor = -1;
        };

        //Allow owner to unlock vault
        if ((_typeOfCursorTarget in DZE_LockableStorage) && {_characterID != "0"} && {player distance _cursorTarget < 3} && {!keypadCancel}) then {
            if (s_player_unlockvault < 0) then {
                if (_typeOfCursorTarget in DZE_LockedStorage) then {
                    if (_characterID == dayz_combination || _ownerID == _uid) then {
                        _combi = player addAction [format[localize "STR_EPOCH_ACTIONS_OPEN",_text], "\z\addons\dayz_code\actions\vault_unlock.sqf",_cursorTarget, 0, false, true];
                        s_player_combi set [count s_player_combi,_combi];
                    } else {
                        _combi = player addAction [format[localize "STR_EPOCH_ACTIONS_UNLOCK",_text], "\z\addons\dayz_code\actions\vault_combination_1.sqf",_cursorTarget, 0, false, true];
                        s_player_combi set [count s_player_combi,_combi];
                    };
                    s_player_unlockvault = 1;
                } else {
                    if (_characterID != dayz_combination && _ownerID != _uid) then {
                        _combi = player addAction [localize "STR_EPOCH_ACTIONS_RECOMBO", "\z\addons\dayz_code\actions\vault_combination_1.sqf",_cursorTarget, 0, false, true];
                        s_player_combi set [count s_player_combi,_combi];
                        s_player_unlockvault = 1;
                    };
                };
            };
        } else {
            {player removeAction _x} count s_player_combi;s_player_combi = [];
            s_player_unlockvault = -1;
        };

        //Allow owner to pack vault
        if ((_typeOfCursorTarget in DZE_UnLockedStorage) && {_characterID != "0"} && {player distance _cursorTarget < 3}  && {!keypadCancel}) then {
            if (s_player_lockvault < 0) then {
                if (_characterID == dayz_combination || _ownerID == _uid) then {
                    s_player_lockvault = player addAction [format[localize "STR_EPOCH_ACTIONS_LOCK",_text], "\z\addons\dayz_code\actions\vault_lock.sqf",_cursorTarget, 0, false, true];
                };
            };
            if (s_player_packvault < 0 && (_characterID == dayz_combination || _ownerID == _uid)) then {
                s_player_packvault = player addAction [format["<t color='#ff0000'>%1</t>",(format[localize "STR_EPOCH_ACTIONS_PACK",_text])], "\z\addons\dayz_code\actions\vault_pack.sqf",_cursorTarget, 0, false, true];
            };
        } else {
            player removeAction s_player_packvault;
            s_player_packvault = -1;
            player removeAction s_player_lockvault;
            s_player_lockvault = -1;
        };

        //Player Deaths
        if (_typeOfCursorTarget == "Info_Board_EP1") then {
            if (s_player_information < 0) then {
                s_player_information = player addAction [localize "STR_EPOCH_ACTIONS_MURDERS", "\z\addons\dayz_code\actions\list_playerDeaths.sqf",[], 7, false, true];
            };
        } else {
            player removeAction s_player_information;
            s_player_information = -1;
        };
        
        //Fuel Pump
        if (_typeOfCursorTarget in dayz_fuelpumparray) then {
            if (s_player_fuelauto < 0) then {        
                // check if Generator_DZ is running within 30 meters
                _findNearestGen = {((alive _x) && (_x getVariable ["GeneratorRunning",false]))} count (([player] call FNC_getPos) nearObjects ["Generator_DZ",30]);
                
                // show that pump needs power if no generator nearby.
                if (_findNearestGen > 0) then {
                    s_player_fuelauto = player addAction [localize "STR_EPOCH_ACTIONS_FILLVEH", "\z\addons\dayz_code\actions\fill_nearestVehicle.sqf",objNull, 0, false, true];
                } else {
                    s_player_fuelauto = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_NEEDPOWER"], "",[], 0, false, true];
                };
            };
        } else {
            player removeAction s_player_fuelauto;
            s_player_fuelauto = -1;
        };

        //Fuel Pump on truck
        if (_typeOfCursorTarget in DZE_fueltruckarray && _isAlive) then {
            if (s_player_fuelauto2 < 0) then {
                // show that fuel truck pump needs power.
                if (isEngineOn _cursorTarget) then {
                    s_player_fuelauto2 = player addAction [localize "STR_EPOCH_ACTIONS_FILLVEH", "\z\addons\dayz_code\actions\fill_nearestVehicle.sqf",_cursorTarget, 0, false, true];
                } else {
                    s_player_fuelauto2 = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_NEEDPOWER"], "",[], 0, false, true];
                };
            };
        } else {
            player removeAction s_player_fuelauto2;
            s_player_fuelauto2 = -1;
        };

        // inplace upgrade tool
        if ((_cursorTarget isKindOf "ModularItems") || (_cursorTarget isKindOf "Land_DZE_WoodDoor_Base") || (_cursorTarget isKindOf "CinderWallDoor_DZ_Base")) then {
            if ((s_player_lastTarget select 0) != _cursorTarget) then {
                if (s_player_upgrade_build > 0) then {
                    player removeAction s_player_upgrade_build;
                    s_player_upgrade_build = -1;
                };
            };
            if (s_player_upgrade_build < 0) then {
                _hasAccess = [player, _cursorTarget] call FNC_check_access;
                _upgrade = getArray (configFile >> "CfgVehicles" >> (typeOf _cursorTarget) >> "upgradeBuilding");
                if (((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3)) && (count _upgrade) > 0) then {
                    s_player_lastTarget set [0,_cursorTarget];
                    s_player_upgrade_build = player addAction [format[localize "STR_EPOCH_UPGRADE",_text], "\z\addons\dayz_code\actions\player_upgrade.sqf",_cursorTarget, -1, false, true];
                };
            };
        } else {
            player removeAction s_player_upgrade_build;
            s_player_upgrade_build = -1;
        };
        
        // downgrade system
        if ((DZE_Lock_Door == _characterID)  && {!keypadCancel} && {_isDestructable || _cursorTarget isKindOf "Land_DZE_WoodDoorLocked_Base" || _cursorTarget isKindOf "CinderWallDoorLocked_DZ_Base"}) then {
            if ((s_player_lastTarget select 1) != _cursorTarget) then {
                if (s_player_downgrade_build > 0) then {    
                    player removeAction s_player_downgrade_build;
                    s_player_downgrade_build = -1;
                };
            };
            if (s_player_downgrade_build < 0) then {
                _hasAccess = [player, _cursorTarget] call FNC_check_access;
                if ((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3)) then {
                    s_player_lastTarget set [1,_cursorTarget];
                    s_player_downgrade_build = player addAction [format[localize "STR_EPOCH_ACTIONS_REMLOCK",_text], "\z\addons\dayz_code\actions\player_buildingDowngrade.sqf",_cursorTarget, -2, false, true];
                };
            };
        } else {
            player removeAction s_player_downgrade_build;
            s_player_downgrade_build = -1;
        };

        // inplace maintenance tool
        if ((damage _cursorTarget >= DZE_DamageBeforeMaint) && {_cursorTarget isKindOf "ModularItems" || _cursorTarget isKindOf "DZE_Housebase" || _typeOfCursorTarget == "LightPole_DZ"}) then {
            if ((s_player_lastTarget select 2) != _cursorTarget) then {
                if (s_player_maint_build > 0) then {
                    player removeAction s_player_maint_build;
                    s_player_maint_build = -1;
                };
            };
            if (s_player_maint_build < 0) then {
                _hasAccess = [player, _cursorTarget] call FNC_check_access;
                if ((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3)) then {
                    _text2 = _text + " (" + str(round ((damage _cursorTarget) * 100)) + "% damaged)";
                    s_player_lastTarget set [2,_cursorTarget];
                    s_player_maint_build = player addAction [format["%1 %2",localize "STR_EPOCH_ACTIONS_MAINTAIN",_text2], "\z\addons\dayz_code\actions\player_buildingMaint.sqf",_cursorTarget, -2, false, true];
                };
            };
        } else {
            player removeAction s_player_maint_build;
            s_player_maint_build = -1;
        };

        //Start Generator
        if (_isGenerator) then {
            if (s_player_fillgen < 0) then {    
                // check if not running 
                if (_cursorTarget getVariable ["GeneratorRunning", false]) then {
                    s_player_fillgen = player addAction [localize "STR_EPOCH_ACTIONS_GENERATOR1", "\z\addons\dayz_code\actions\stopGenerator.sqf",_cursorTarget, 0, false, true];                
                } else {
                    // check if not filled and player has jerry.
                    if (_cursorTarget getVariable ["GeneratorFilled", false]) then {
                        s_player_fillgen = player addAction [localize "STR_EPOCH_ACTIONS_GENERATOR2", "\z\addons\dayz_code\actions\fill_startGenerator.sqf",_cursorTarget, 0, false, true];
                    } else {
                        if (_hasFuel20 or _hasFuel5 or _hasBarrel) then {
                            s_player_fillgen = player addAction [localize "STR_EPOCH_ACTIONS_GENERATOR3", "\z\addons\dayz_code\actions\fill_startGenerator.sqf",_cursorTarget, 0, false, true];
                        };
                    };
                };
            };
        } else {
            player removeAction s_player_fillgen;
            s_player_fillgen = -1;
        };

        //Towing with tow truck
        /*
        if(_typeOfCursorTarget == "TOW_DZE") then {
            if (s_player_towing < 0) then {
                if(!(_cursorTarget getVariable ["DZEinTow", false])) then {
                    s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_ATTACH" "\z\addons\dayz_code\actions\tow_AttachStraps.sqf",_cursorTarget, 0, false, true];                
                } else {
                    s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_DETACH", "\z\addons\dayz_code\actions\tow_DetachStraps.sqf",_cursorTarget, 0, false, true];                
                };
            };
        } else {
            player removeAction s_player_towing;
            s_player_towing = -1;
        };
        */
        
        // Custom below

        if (_isMan && {!_isAlive} && {!(_cursorTarget isKindOf "Animal")} && {player distance _cursorTarget < 5}) then {
            if (s_player_checkWallet < 0) then {
                s_player_checkWallet = player addAction ["Check Wallet","scripts\zsc\checkWallet.sqf",_cursorTarget,0,false,true];
            };
        } else {
            player removeAction s_player_checkWallet;
            s_player_checkWallet = -1;
        };

        if (_typeOfCursorTarget in DZE_MoneyStorageClasses && {!locked _cursorTarget} && {!(_typeOfCursorTarget in DZE_LockedStorage)} && {player distance _cursorTarget < 5}) then {
            if (s_bank_dialog < 0) then {
                s_bank_dialog = player addAction ["Access bank","scripts\zsc\bankDialog.sqf",_cursorTarget,1,true,true];
            };
        } else {
            player removeAction s_bank_dialog;
            s_bank_dialog = -1;
        };

        if (_isAlive && {_typeOfCursorTarget in AllPlayers} && {isPlayer _cursorTarget}) then {
            if (s_givemoney_dialog < 0) then {
                s_givemoney_dialog = player addAction [format ["Trade %1 with %2",CurrencyName,name _cursorTarget],"scripts\zsc\givePlayer.sqf",_cursorTarget,3,true,true];
            };
        } else {
            player removeAction s_givemoney_dialog;
            s_givemoney_dialog = -1;
        };

        if (_isMan && {!(isPlayer _cursorTarget)} && {_typeOfCursorTarget in ZSC_bankTraders} && {!_isPZombie}) then {
            if (s_bank_dialog1 < 0) then {
                s_bank_dialog1 = player addAction ["Bank Teller","scripts\zsc\atmDialog.sqf",_cursorTarget,3,true,true];
            };
        } else {
            player removeAction s_bank_dialog1;
            s_bank_dialog1 = -1;
        };

        if (_typeOfCursorTarget in ZSC_bankObjects && {player distance _cursorTarget < 5}) then {
            if (s_bank_dialog2 < 0) then {
                s_bank_dialog2 = player addAction ["Bank ATM","scripts\zsc\atmDialog.sqf",_cursorTarget,3,true,true];
            };
        } else {
            player removeAction s_bank_dialog2;
            s_bank_dialog2 = -1;
        };
    //BURY BODY
        if (!_isAlive && {!(_cursorTarget isKindOf "zZombie_base")} && {!(_cursorTarget isKindOf "Animal")} && {_canDo} && {_isMan}) then {
            _isButchered = _cursorTarget getVariable ["bodyButchered",false];
            if (!_isButchered) then {
                if ("ItemEtool" in _itemsPlayer) then {
                    if (s_player_bury_human < 0) then {
                        s_player_bury_human = player addAction ["<t color='#0096ff'>Bury Human</t>","scripts\buryActions.sqf",[_cursorTarget,"bury"],0,false,true];
                    }
                } else {
                    player removeAction s_player_bury_human;
                    s_player_bury_human = -1;
                };
                if ({_x in ["ItemKnife","ItemKnife5","ItemKnife4","ItemKnife3","ItemKnife2","ItemKnifeBlunt"]} count _itemsPlayer > 0) then {

                    if (s_player_butcher_human < 0) then {
                        s_player_butcher_human = player addAction ["<t color='#0096ff'>Butcher Human</t>","scripts\buryActions.sqf",[_cursorTarget,"butcher"],0,false,true];
                    };
                } else {
                    player removeAction s_player_butcher_human;
                    s_player_butcher_human = -1;
                };
            };
        };
    // END BURY BODY    
        
        // All Traders
        if (_isMan && {!(isPlayer _cursorTarget)} && {_typeOfCursorTarget in serverTraders} && {!_isPZombie}) then {
            if (s_player_parts_crtl < 0) then {
                _humanity = player getVariable ["humanity",0];
                _traderMenu = call compile format["menu_%1;",_typeOfCursorTarget];        
                _low_high = localize "STR_EPOCH_ACTIONS_HUMANITY_LOW";
                _humanity_logic = false;
                if ((_traderMenu select 2) == "friendly") then {
                    _humanity_logic = (_humanity < -5000);
                };
                if ((_traderMenu select 2) == "hostile") then {
                    _low_high = localize "STR_EPOCH_ACTIONS_HUMANITY_HIGH";
                    _humanity_logic = (_humanity > -5000);
                };
                if ((_traderMenu select 2) == "hero") then {
                    _humanity_logic = (_humanity < 5000);
                };
                if (_humanity_logic) then {
                    _cancel = player addAction [format[localize "STR_EPOCH_ACTIONS_HUMANITY",_low_high], "\z\addons\dayz_code\actions\trade_cancel.sqf",["na"], 0, true, false];
                    s_player_parts set [count s_player_parts,_cancel];
                } else {
                    // Static Menu
                    {
                        _buy = player addAction [format["Trade %1 %2 for %3 %4",(_x select 3),(_x select 5),(_x select 2),(_x select 6)], "\z\addons\dayz_code\actions\trade_items_wo_db.sqf",[(_x select 0),(_x select 1),(_x select 2),(_x select 3),(_x select 4),(_x select 5),(_x select 6)], (_x select 7), true, true];
                        s_player_parts set [count s_player_parts,_buy];        
                    } count (_traderMenu select 1);
                    if (DZE_ConfigTrader) then {
                        _buyV = player addAction [localize "STR_EPOCH_PLAYER_289", "\z\addons\dayz_code\actions\AdvancedTrading\init.sqf",(_traderMenu select 0), 999, true, false];
                        s_player_parts set [count s_player_parts,_buyV];
                    } else {
                        // Database menu
                        _buy = player addAction [localize "STR_EPOCH_PLAYER_289", "\z\addons\dayz_code\actions\show_dialog.sqf",(_traderMenu select 0), 999, true, false];
                        s_player_parts set [count s_player_parts,_buy];
                    };
                };
                s_player_parts_crtl = 1;    
            };
        } else {
            {player removeAction _x} count s_player_parts;s_player_parts = [];
            s_player_parts_crtl = -1;
        };
        
        if (dayz_tameDogs) then {
            //Dog
            _hasRawMeat = {_x in Dayz_meatraw} count _magazinesPlayer > 0;
            if (_isDog && {_hasRawMeat} && {_isAlive} && {_ownerID == "0"} && {player getVariable ["dogID",0] == 0}) then {
                if (s_player_tamedog < 0) then {
                    s_player_tamedog = player addAction [localize "str_actions_tamedog", "\z\addons\dayz_code\actions\dog\tame_dog.sqf", _cursorTarget, 1, false, true];
                };
            } else {
                player removeAction s_player_tamedog;
                s_player_tamedog = -1;
            };
            if (_isDog && {_ownerID == _id} && {_isAlive}) then {
                if (s_player_feeddog < 0 && _hasRawMeat) then {
                    s_player_feeddog = player addAction [localize "str_actions_feeddog","\z\addons\dayz_code\actions\dog\feed.sqf",[_dogHandle,0], 0, false, true];
                };
                if (s_player_waterdog < 0 && _hasbottleitem) then {
                    s_player_waterdog = player addAction [localize "str_actions_waterdog","\z\addons\dayz_code\actions\dog\feed.sqf",[_dogHandle,1], 0, false, true];
                };
                if (s_player_staydog < 0) then {
                    if (_dogHandle getFSMVariable "_actionLieDown") then { _text = "str_actions_liedog"; } else { _text = "str_actions_sitdog"; };
                    s_player_staydog = player addAction [localize _text,"\z\addons\dayz_code\actions\dog\stay.sqf", _dogHandle, 5, false, true];
                };
                if (s_player_trackdog < 0) then {
                    s_player_trackdog = player addAction [localize "str_actions_trackdog","\z\addons\dayz_code\actions\dog\track.sqf", _dogHandle, 4, false, true];
                };
                if (s_player_barkdog < 0) then {
                    s_player_barkdog = player addAction [localize "str_actions_barkdog","\z\addons\dayz_code\actions\dog\speak.sqf", _cursorTarget, 3, false, true];
                };
                if (s_player_warndog < 0) then {
                    _warn = _dogHandle getFSMVariable "_watchDog";
                    if (_warn) then { _text = localize "str_epoch_player_247"; _warn = false; } else { _text = localize "str_epoch_player_248"; _warn = true; };
                    s_player_warndog = player addAction [format[localize "str_actions_warndog",_text],"\z\addons\dayz_code\actions\dog\warn.sqf",[_dogHandle, _warn], 2, false, true];        
                };
                if (s_player_followdog < 0) then {
                    s_player_followdog = player addAction [localize "str_actions_followdog","\z\addons\dayz_code\actions\dog\follow.sqf",[_dogHandle,true], 6, false, true];
                };
            } else {
                player removeAction s_player_feeddog;
                s_player_feeddog = -1;
                player removeAction s_player_waterdog;
                s_player_waterdog = -1;
                player removeAction s_player_staydog;
                s_player_staydog = -1;
                player removeAction s_player_trackdog;
                s_player_trackdog = -1;
                player removeAction s_player_barkdog;
                s_player_barkdog = -1;
                player removeAction s_player_warndog;
                s_player_warndog = -1;
                player removeAction s_player_followdog;
                s_player_followdog = -1;
            };
        };
    } else {
        //Engineering
        player removeAction s_player_plot_boundary;
        s_player_plot_boundary = -1;
        player removeAction s_player_plotManagement;
        s_player_plotManagement = -1;
        {dayz_myCursorTarget removeAction _x} count s_player_repairActions;s_player_repairActions = [];
        player removeAction s_player_repair_crtl;
        s_player_repair_crtl = -1;
        dayz_myCursorTarget = objNull;
        player removeAction s_player_flipveh;
        s_player_flipveh = -1;
        player removeAction s_player_sleep;
        s_player_sleep = -1;
        player removeAction s_player_deleteBuild;
        s_player_deleteBuild = -1;
        player removeAction s_player_cook;
        s_player_cook = -1;
        player removeAction s_player_boil;
        s_player_boil = -1;
        player removeAction s_player_fireout;
        s_player_fireout = -1;
        player removeAction s_player_packtent;
        s_player_packtent = -1;
        player removeAction s_player_packtentinfected;
        s_player_packtentinfected = -1;
        player removeAction s_player_fillfuel;
        s_player_fillfuel = -1;
        player removeAction s_player_studybody;
        s_player_studybody = -1;
        //fuel
        player removeAction s_player_fillfuel210;
        s_player_fillfuel210 = -1;
        player removeAction s_player_fillfuel20;
        s_player_fillfuel20 = -1;
        player removeAction s_player_fillfuel5;
        s_player_fillfuel5 = -1;
        //Allow player to siphon vehicle fuel
        player removeAction s_player_siphonfuel;
        s_player_siphonfuel = -1;
        //Allow player to gather
        player removeAction s_player_gather;
        s_player_gather = -1;
        player removeAction s_player_destroytent;
        s_player_destroytent = -1;
        // player removeAction s_player_attach_bomb;
        //  s_player_attach_bomb = -1;
        player removeAction s_player_upgradestorage;
        s_player_upgradestorage = -1;
        /* //Unlock,Lock // Vanilla base building currently not used in Epoch
        player removeAction s_player_setCode;
        s_player_setCode = -1;
        player removeAction s_player_lockhouse;
        s_player_lockhouse = -1;
        player removeAction s_player_unlockhouse;
        s_player_unlockhouse = -1;
        player removeAction s_player_openGate;
        s_player_openGate = -1;
        player removeAction s_player_CloseGate;
        s_player_CloseGate = -1;
        player removeAction s_player_breakinhouse;
        s_player_breakinhouse = -1;
        player removeAction s_player_BuildUnLock;
        s_player_BuildUnLock = -1;
        player removeAction s_player_BuildLock;
        s_player_BuildLock = -1;*/
        {player removeAction _x} count s_player_combi;s_player_combi = [];    
        s_player_lastTarget = [objNull,objNull,objNull,objNull,objNull];
        {player removeAction _x} count s_player_parts;s_player_parts = [];
        s_player_parts_crtl = -1;
        {player removeAction _x} count s_player_lockunlock;s_player_lockunlock = [];
        s_player_lockUnlock_crtl = -1;
        player removeAction s_player_SurrenderedGear;
        s_player_SurrenderedGear = -1;
        player removeAction s_player_maintain_area;
        s_player_maintain_area = -1;
        player removeAction s_player_maintain_area_force;
        s_player_maintain_area_force = -1;
        player removeAction s_player_maintain_area_preview;
        s_player_maintain_area_preview = -1;    
        player removeAction s_player_tamedog;
        s_player_tamedog = -1;
        player removeAction s_player_feeddog;
        s_player_feeddog = -1;
        player removeAction s_player_waterdog;
        s_player_waterdog = -1;
        player removeAction s_player_staydog;
        s_player_staydog = -1;
        player removeAction s_player_trackdog;
        s_player_trackdog = -1;
        player removeAction s_player_barkdog;
        s_player_barkdog = -1;
        player removeAction s_player_warndog;
        s_player_warndog = -1;
        player removeAction s_player_followdog;
        s_player_followdog = -1;
        player removeAction s_player_unlockvault;
        s_player_unlockvault = -1;
        player removeAction s_player_packvault;
        s_player_packvault = -1;
        player removeAction s_player_lockvault;
        s_player_lockvault = -1;
        player removeAction s_player_information;
        s_player_information = -1;
        player removeAction s_player_fillgen;
        s_player_fillgen = -1;
        player removeAction s_player_upgrade_build;
        s_player_upgrade_build = -1;
        player removeAction s_player_maint_build;
        s_player_maint_build = -1;
        player removeAction s_player_downgrade_build;
        s_player_downgrade_build = -1;
        player removeAction s_player_towing;
        s_player_towing = -1;
        player removeAction s_player_fuelauto;
        s_player_fuelauto = -1;
        player removeAction s_player_fuelauto2;
        s_player_fuelauto2 = -1;
        player removeAction s_player_manageDoor;
        s_player_manageDoor = -1;

        // Custom below
        player removeAction s_givemoney_dialog;
        s_givemoney_dialog = -1;
        player removeAction s_bank_dialog;
        s_bank_dialog = -1;
        player removeAction s_bank_dialog1;
        s_bank_dialog1 = -1;
        player removeAction s_bank_dialog2;
        s_bank_dialog2 = -1;
        player removeAction s_player_checkWallet;
        s_player_checkWallet = -1;

        player removeAction s_player_bury_human;
        s_player_bury_human = -1;
        player removeAction s_player_butcher_human;
        s_player_butcher_human = -1;    
    };

    //Dog actions on player self
    if (_dogHandle > 0) then {
        _dog = _dogHandle getFSMVariable "_dog";
        if (isNil "_dog") exitWith {};
        if (isNil "_ownerID") then {_ownerID = "0"};
        if (_canDo && !_inVehicle && alive _dog && !(_ownerID in [dayz_characterID,_uid])) then {
            if (s_player_movedog < 0) then {
                s_player_movedog = player addAction [localize "str_actions_movedog", "\z\addons\dayz_code\actions\dog\move.sqf", player getVariable ["dogID",0], 1, false, true];
            };
            if (s_player_speeddog < 0) then {
                _text = localize "str_epoch_player_249";
                _speed = 0;
                if (_dog getVariable ["currentSpeed",1] == 0) then { _speed = 1; _text = localize "str_epoch_player_250"; };
                s_player_speeddog = player addAction [format[localize "str_actions_speeddog", _text], "\z\addons\dayz_code\actions\dog\speed.sqf",[player getVariable ["dogID",0],_speed], 0, false, true];
            };
            if (s_player_calldog < 0) then {
                s_player_calldog = player addAction [localize "str_actions_calldog", "\z\addons\dayz_code\actions\dog\follow.sqf", [player getVariable ["dogID",0], true], 2, false, true];
            };
        };
    } else {
        player removeAction s_player_movedog;        
        s_player_movedog = -1;
        player removeAction s_player_speeddog;
        s_player_speeddog = -1;
        player removeAction s_player_calldog;
        s_player_calldog = -1;
    };

    //Monitor
    player setVariable ["selfActions", diag_ticktime, false];
     

     

  2.  

    @harcosgoogle

    in your server_functions.sqf put the following at the very bottom

     [] execVM "\z\addons\dayz_server\addons\red_zone.sqf";

    Then in your server side pbo make a folder called addons, if you dont already have one. Then make a new document and call it red_zone.sqf

    Copy the following and paste it in the file  you just made.

    Spoiler

    // bexs epoch pack
    // red zone by Muhma
    if (isServer) then {
    _vehicle_0 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16360.224, 18572.273, 0.079653949], [], 0, "CAN_COLLIDE"];
      _vehicle_0 = _this;
      _this setDir -14.879387;
      _this setPos [16360.224, 18572.273, 0.079653949];
    };

    _vehicle_1 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16373.582, 18579.852, 0.00034332275], [], 0, "CAN_COLLIDE"];
      _vehicle_1 = _this;
      _this setDir 143.90701;
      _this setPos [16373.582, 18579.852, 0.00034332275];
    };

    _vehicle_3 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16410.75, 18602.559, 0.39133567], [], 0, "CAN_COLLIDE"];
      _vehicle_3 = _this;
      _this setDir -7.8351684;
      _this setPos [16410.75, 18602.559, 0.39133567];
    };

    _vehicle_4 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16385.68, 18588.723, 0.00017929077], [], 0, "CAN_COLLIDE"];
      _vehicle_4 = _this;
      _this setDir -48.511063;
      _this setPos [16385.68, 18588.723, 0.00017929077];
    };

    _vehicle_5 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16396.479, 18598.492, 0.00018310547], [], 0, "CAN_COLLIDE"];
      _vehicle_5 = _this;
      _this setDir 146.99409;
      _this setPos [16396.479, 18598.492, 0.00018310547];
    };

    _vehicle_13 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier5x", [16456.998, 18498.551, 0.44626752], [], 0, "CAN_COLLIDE"];
      _vehicle_13 = _this;
      _this setDir 31.666586;
      _this setPos [16456.998, 18498.551, 0.44626752];
    };

    _vehicle_14 = objNull;
    if (true) then
    {
      _this = createVehicle ["Gue_WarfareBLightFactory", [16578.873, 18451.943, 0.42867053], [], 0, "CAN_COLLIDE"];
      _vehicle_14 = _this;
      _this setDir 49.9832;
      _this setPos [16578.873, 18451.943, 0.42867053];
    };

    _vehicle_15 = objNull;
    if (true) then
    {
      _this = createVehicle ["WarfareBCamp", [16248.331, 18451.604, 0.38712671], [], 0, "CAN_COLLIDE"];
      _vehicle_15 = _this;
      _this setDir 34.37817;
      _this setPos [16248.331, 18451.604, 0.38712671];
    };

    _vehicle_38 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_BagFenceLong", [16619.967, 18179.324, 16.261148], [], 0, "CAN_COLLIDE"];
      _vehicle_38 = _this;
      _this setDir 39.652615;
      _this setPos [16619.967, 18179.324, 16.261148];
    };

    _vehicle_40 = objNull;
    if (true) then
    {
      _this = createVehicle ["Sandbag1_DZ", [16624.588, 18180.715, 16.256283], [], 0, "CAN_COLLIDE"];
      _vehicle_40 = _this;
      _this setDir -49.890118;
      _this setPos [16624.588, 18180.715, 16.256283];
    };

    _vehicle_41 = objNull;
    if (true) then
    {
      _this = createVehicle ["BagFenceRound_DZ", [16542.561, 18173.006, 15.315392], [], 0, "CAN_COLLIDE"];
      _vehicle_41 = _this;
      _this setDir -39.271877;
      _this setPos [16542.561, 18173.006, 15.315392];
        _this setVariable ["Sarge",true];
    };

    _vehicle_42 = objNull;
    if (true) then
    {
      _this = createVehicle ["BAF_L2A1_Tripod_D", [16540.551, 18174.557, 15.494563], [], 0, "CAN_COLLIDE"];
      _vehicle_42 = _this;
      _this setDir -146.07625;
      _this setPos [16540.551, 18174.557, 15.494563];
        _this setVariable ["Sarge",true];
    };

    _vehicle_43 = objNull;
    if (true) then
    {
      _this = createVehicle ["BAF_L2A1_Tripod_D", [16621.492, 18179.137, 15.448992], [], 0, "CAN_COLLIDE"];
      _vehicle_43 = _this;
      _this setDir -190.40851;
      _this setPos [16621.492, 18179.137, 15.448992];
        _this setVariable ["Sarge",true];
    };

    _vehicle_44 = objNull;
    if (true) then
    {
      _this = createVehicle ["M2StaticMG", [16613.508, 18233.551, 15.346526], [], 0, "CAN_COLLIDE"];
      _vehicle_44 = _this;
      _this setPos [16613.508, 18233.551, 15.346526];
        _this setVariable ["Sarge",true];
    };

    _vehicle_45 = objNull;
    if (true) then
    {
      _this = createVehicle ["M2StaticMG", [16656.961, 18210.316, 7.6494122], [], 0, "CAN_COLLIDE"];
      _vehicle_45 = _this;
      _this setPos [16656.961, 18210.316, 7.6494122];
        _this setVariable ["Sarge",true];
    };

    _vehicle_46 = objNull;
    if (true) then
    {
      _this = createVehicle ["M2StaticMG", [16542.166, 18225.391, 15.42415], [], 0, "CAN_COLLIDE"];
      _vehicle_46 = _this;
      _this setDir -41.42466;
      _this setPos [16542.166, 18225.391, 15.42415];
        _this setVariable ["Sarge",true];
    };

    _vehicle_66 = objNull;
    if (true) then
    {
      _this = createVehicle ["Pickup_PK_TK_GUE_EP1_DZ", [16351.13, 18428.695, 0.00024795532], [], 0, "CAN_COLLIDE"];
      _vehicle_66 = _this;
      _this setDir -325.19742;
      _this setPos [16351.13, 18428.695, 0.00024795532];
        _this setVariable ["Sarge",true];
    };

    _vehicle_68 = objNull;
    if (true) then
    {
      _this = createVehicle ["UAZ_MG_TK_EP1_DZ", [16406.867, 18473.133, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_68 = _this;
      _this setDir -140.15935;
      _this setPos [16406.867, 18473.133, -7.6293945e-006];
        _this setVariable ["Sarge",true];
    };

    _vehicle_69 = objNull;
    if (true) then
    {
      _this = createVehicle ["UAZ_MG_TK_EP1_DZ", [16319.299, 18488.07, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_69 = _this;
      _this setDir -48.35762;
      _this setPos [16319.299, 18488.07, 3.8146973e-006];
        _this setVariable ["Sarge",true];
    };

    _vehicle_72 = objNull;
    if (true) then
    {
      _this = createVehicle ["hiluxWreck", [16346.134, 18431.35, 4.9591064e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_72 = _this;
      _this setDir -137.08516;
      _this setPos [16346.134, 18431.35, 4.9591064e-005];
    };

    _vehicle_73 = objNull;
    if (true) then
    {
      _this = createVehicle ["datsun01Wreck", [16495.797, 18308.363, 0.00010681152], [], 0, "CAN_COLLIDE"];
      _vehicle_73 = _this;
      _this setDir -153.76425;
      _this setPos [16495.797, 18308.363, 0.00010681152];
    };

    _vehicle_74 = objNull;
    if (true) then
    {
      _this = createVehicle ["UAZWreck", [16488.381, 18313.385, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_74 = _this;
      _this setDir -108.40981;
      _this setPos [16488.381, 18313.385, 5.3405762e-005];
    };

    _objectComposition_0 = [[16565.555, 18245.156, 5.3405762e-005], 38.642624, "WeaponsStore1_RU"] call (compile (preprocessFileLineNumbers "ca\modules\dyno\data\scripts\objectmapper.sqf"));

    _vehicle_81 = objNull;
    if (true) then
    {
      _this = createVehicle ["BRDM2_HQ_TK_GUE_unfolded_EP1", [16488.721, 18302.219, 3.4332275e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_81 = _this;
      _this setDir 40.544254;
      _this setPos [16488.721, 18302.219, 3.4332275e-005];
    };

    _vehicle_86 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16479.205, 18617.02, 0.26929921], [], 0, "CAN_COLLIDE"];
      _vehicle_86 = _this;
      _this setDir -22.66572;
      _this setPos [16479.205, 18617.02, 0.26929921];
    };

    _vehicle_87 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16493.705, 18622.443, 0.53001362], [], 0, "CAN_COLLIDE"];
      _vehicle_87 = _this;
      _this setDir -16.832272;
      _this setPos [16493.705, 18622.443, 0.53001362];
    };

    _vehicle_88 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16508.662, 18625.273, 0.66591799], [], 0, "CAN_COLLIDE"];
      _vehicle_88 = _this;
      _this setDir -6.3585453;
      _this setPos [16508.662, 18625.273, 0.66591799];
    };

    _vehicle_89 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16523.125, 18626.398, 0.5976426], [], 0, "CAN_COLLIDE"];
      _vehicle_89 = _this;
      _this setDir -4.3628225;
      _this setPos [16523.125, 18626.398, 0.5976426];
    };

    _vehicle_90 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16548.75, 18628.602, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_90 = _this;
      _this setDir 42.931015;
      _this setPos [16548.75, 18628.602, -7.6293945e-006];
    };

    _vehicle_91 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16559.35, 18619.223, 0.00012207031], [], 0, "CAN_COLLIDE"];
      _vehicle_91 = _this;
      _this setDir 40.626163;
      _this setPos [16559.35, 18619.223, 0.00012207031];
    };

    _vehicle_92 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16571.045, 18609.139, 0.059042469], [], 0, "CAN_COLLIDE"];
      _vehicle_92 = _this;
      _this setDir 40.312401;
      _this setPos [16571.045, 18609.139, 0.059042469];
    };

    _vehicle_93 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16581.867, 18599.824, 0.20341006], [], 0, "CAN_COLLIDE"];
      _vehicle_93 = _this;
      _this setDir 39.884205;
      _this setPos [16581.867, 18599.824, 0.20341006];
    };

    _vehicle_94 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16593.105, 18590.496, 0.28863391], [], 0, "CAN_COLLIDE"];
      _vehicle_94 = _this;
      _this setDir 39.548378;
      _this setPos [16593.105, 18590.496, 0.28863391];
    };

    _vehicle_95 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16604.111, 18581.162, 0.28004327], [], 0, "CAN_COLLIDE"];
      _vehicle_95 = _this;
      _this setDir 41.423798;
      _this setPos [16604.111, 18581.162, 0.28004327];
    };

    _vehicle_96 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16615.926, 18570.967, 0.199596], [], 0, "CAN_COLLIDE"];
      _vehicle_96 = _this;
      _this setDir 40.085716;
      _this setPos [16615.926, 18570.967, 0.199596];
    };

    _vehicle_97 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16627.514, 18561.547, 0.20101473], [], 0, "CAN_COLLIDE"];
      _vehicle_97 = _this;
      _this setDir 38.26366;
      _this setPos [16627.514, 18561.547, 0.20101473];
    };

    _vehicle_98 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16638.885, 18552.484, 0.11463711], [], 0, "CAN_COLLIDE"];
      _vehicle_98 = _this;
      _this setDir 39.055511;
      _this setPos [16638.885, 18552.484, 0.11463711];
    };

    _vehicle_99 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16650.58, 18543.742, 0.25031453], [], 0, "CAN_COLLIDE"];
      _vehicle_99 = _this;
      _this setDir 34.349152;
      _this setPos [16650.58, 18543.742, 0.25031453];
    };

    _vehicle_100 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16660.992, 18533.572, 0.20066465], [], 0, "CAN_COLLIDE"];
      _vehicle_100 = _this;
      _this setDir 53.89608;
      _this setPos [16660.992, 18533.572, 0.20066465];
    };

    _vehicle_101 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16668.281, 18520.543, 0.24264795], [], 0, "CAN_COLLIDE"];
      _vehicle_101 = _this;
      _this setDir 69.050903;
      _this setPos [16668.281, 18520.543, 0.24264795];
    };

    _vehicle_102 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16673.074, 18505.846, 0.26671672], [], 0, "CAN_COLLIDE"];
      _vehicle_102 = _this;
      _this setDir 73.470039;
      _this setPos [16673.074, 18505.846, 0.26671672];
    };

    _vehicle_103 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16676.596, 18491.781, 0.17651339], [], 0, "CAN_COLLIDE"];
      _vehicle_103 = _this;
      _this setDir 78.78791;
      _this setPos [16676.596, 18491.781, 0.17651339];
    };

    _vehicle_104 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16679.566, 18477.074, 0.318441], [], 0, "CAN_COLLIDE"];
      _vehicle_104 = _this;
      _this setDir 77.473343;
      _this setPos [16679.566, 18477.074, 0.318441];
    };

    _vehicle_105 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16683.393, 18463.332, 0.31767172], [], 0, "CAN_COLLIDE"];
      _vehicle_105 = _this;
      _this setDir 70.896698;
      _this setPos [16683.393, 18463.332, 0.31767172];
    };

    _vehicle_106 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16689.328, 18450.258, 0.29742223], [], 0, "CAN_COLLIDE"];
      _vehicle_106 = _this;
      _this setDir 59.199173;
      _this setPos [16689.328, 18450.258, 0.29742223];
    };

    _vehicle_107 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16697.207, 18438.045, 0.34642482], [], 0, "CAN_COLLIDE"];
      _vehicle_107 = _this;
      _this setDir 55.633072;
      _this setPos [16697.207, 18438.045, 0.34642482];
    };

    _vehicle_108 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16705.107, 18427.367, 0.32767838], [], 0, "CAN_COLLIDE"];
      _vehicle_108 = _this;
      _this setDir 51.607098;
      _this setPos [16705.107, 18427.367, 0.32767838];
    };

    _vehicle_109 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16714.016, 18415.844, 0.45404398], [], 0, "CAN_COLLIDE"];
      _vehicle_109 = _this;
      _this setDir 50.673443;
      _this setPos [16714.016, 18415.844, 0.45404398];
    };

    _vehicle_110 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16722.932, 18404.895, 0.48837325], [], 0, "CAN_COLLIDE"];
      _vehicle_110 = _this;
      _this setDir 50.63641;
      _this setPos [16722.932, 18404.895, 0.48837325];
    };

    _vehicle_111 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16712.234, 18369.988, 0.00027656555], [], 0, "CAN_COLLIDE"];
      _vehicle_111 = _this;
      _this setDir -37.522652;
      _this setPos [16712.234, 18369.988, 0.00027656555];
    };

    _vehicle_112 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16700.082, 18360.959, -0.0001449585], [], 0, "CAN_COLLIDE"];
      _vehicle_112 = _this;
      _this setDir -35.142265;
      _this setPos [16700.082, 18360.959, -0.0001449585];
    };

    _vehicle_113 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16688.211, 18351.836, 0.00010299683], [], 0, "CAN_COLLIDE"];
      _vehicle_113 = _this;
      _this setDir -40.416565;
      _this setPos [16688.211, 18351.836, 0.00010299683];
    };

    _vehicle_114 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16677.551, 18341.861, 0.14727491], [], 0, "CAN_COLLIDE"];
      _vehicle_114 = _this;
      _this setDir -48.82991;
      _this setPos [16677.551, 18341.861, 0.14727491];
    };

    _vehicle_115 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16668.963, 18330.666, 0.14184782], [], 0, "CAN_COLLIDE"];
      _vehicle_115 = _this;
      _this setDir -58.807034;
      _this setPos [16668.963, 18330.666, 0.14184782];
    };

    _vehicle_116 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16661.361, 18318.537, 0.31597456], [], 0, "CAN_COLLIDE"];
      _vehicle_116 = _this;
      _this setDir -56.740646;
      _this setPos [16661.361, 18318.537, 0.31597456];
    };

    _vehicle_117 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16652.094, 18307.77, 0.65944266], [], 0, "CAN_COLLIDE"];
      _vehicle_117 = _this;
      _this setDir -41.887486;
      _this setPos [16652.094, 18307.77, 0.65944266];
    };

    _vehicle_118 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16639.939, 18299.416, 0.43287784], [], 0, "CAN_COLLIDE"];
      _vehicle_118 = _this;
      _this setDir -28.946466;
      _this setPos [16639.939, 18299.416, 0.43287784];
    };

    _vehicle_119 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16627.244, 18293.666, 0.19218554], [], 0, "CAN_COLLIDE"];
      _vehicle_119 = _this;
      _this setDir -20.783384;
      _this setPos [16627.244, 18293.666, 0.19218554];
    };

    _vehicle_120 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16612.838, 18292.469, 0.35420021], [], 0, "CAN_COLLIDE"];
      _vehicle_120 = _this;
      _this setDir 12.00251;
      _this setPos [16612.838, 18292.469, 0.35420021];
    };

    _vehicle_121 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16346.26, 18569.443, 0.00017166138], [], 0, "CAN_COLLIDE"];
      _vehicle_121 = _this;
      _this setDir -7.201663;
      _this setPos [16346.26, 18569.443, 0.00017166138];
    };

    _vehicle_122 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16331.045, 18568.641, 0.069300368], [], 0, "CAN_COLLIDE"];
      _vehicle_122 = _this;
      _this setPos [16331.045, 18568.641, 0.069300368];
    };

    _vehicle_123 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16318.947, 18563.693, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_123 = _this;
      _this setDir -47.543709;
      _this setPos [16318.947, 18563.693, -3.8146973e-006];
    };

    _vehicle_124 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16308.832, 18552.389, 3.4332275e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_124 = _this;
      _this setDir -49.192921;
      _this setPos [16308.832, 18552.389, 3.4332275e-005];
    };

    _vehicle_125 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16299.473, 18541.85, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_125 = _this;
      _this setDir -50.172489;
      _this setPos [16299.473, 18541.85, 7.6293945e-006];
    };

    _vehicle_126 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16290.243, 18530.096, 0.00018310547], [], 0, "CAN_COLLIDE"];
      _vehicle_126 = _this;
      _this setDir -53.528278;
      _this setPos [16290.243, 18530.096, 0.00018310547];
    };

    _vehicle_127 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16257.129, 18493.027, 0.00021362305], [], 0, "CAN_COLLIDE"];
      _vehicle_127 = _this;
      _this setDir -53.997166;
      _this setPos [16257.129, 18493.027, 0.00021362305];
    };

    _vehicle_128 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16247.915, 18481.105, 0.00022888184], [], 0, "CAN_COLLIDE"];
      _vehicle_128 = _this;
      _this setDir -51.215511;
      _this setPos [16247.915, 18481.105, 0.00022888184];
    };

    _vehicle_129 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16238.932, 18469.271, 9.5367432e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_129 = _this;
      _this setDir -56.226524;
      _this setPos [16238.932, 18469.271, 9.5367432e-005];
    };

    _vehicle_130 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16231.002, 18457.32, 0.0001411438], [], 0, "CAN_COLLIDE"];
      _vehicle_130 = _this;
      _this setDir -57.429367;
      _this setPos [16231.002, 18457.32, 0.0001411438];
    };

    _vehicle_131 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16223.337, 18444.535, -5.3405762e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_131 = _this;
      _this setDir -60.988773;
      _this setPos [16223.337, 18444.535, -5.3405762e-005];
    };

    _vehicle_132 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16226.346, 18434.445, -0.00011062622], [], 0, "CAN_COLLIDE"];
      _vehicle_132 = _this;
      _this setDir 26.418879;
      _this setPos [16226.346, 18434.445, -0.00011062622];
    };

    _vehicle_134 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16239.346, 18427.549, 0.00031280518], [], 0, "CAN_COLLIDE"];
      _vehicle_134 = _this;
      _this setDir 30.160952;
      _this setPos [16239.346, 18427.549, 0.00031280518];
    };

    _vehicle_135 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10xTall", [16251.029, 18419.176, 0.00033187866], [], 0, "CAN_COLLIDE"];
      _vehicle_135 = _this;
      _this setDir 40.438;
      _this setPos [16251.029, 18419.176, 0.00033187866];
    };

    _vehicle_136 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_budova1", [16593.545, 18323.998, 0.00040435791], [], 0, "CAN_COLLIDE"];
      _vehicle_136 = _this;
      _this setDir -47.752899;
      _this setPos [16593.545, 18323.998, 0.00040435791];
    };

    _vehicle_137 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_budova2", [16619.994, 18319.314, 8.2015991e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_137 = _this;
      _this setDir -180.94572;
      _this setPos [16619.994, 18319.314, 8.2015991e-005];
    };

    _vehicle_138 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_hospital", [16500.699, 18295.521, 0.22674586], [], 0, "CAN_COLLIDE"];
      _vehicle_138 = _this;
      _this setDir 128.52859;
      _this setPos [16500.699, 18295.521, 0.22674586];
    };

    _vehicle_139 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_Mil_Barracks", [16580.924, 18335.344, -0.00019454956], [], 0, "CAN_COLLIDE"];
      _vehicle_139 = _this;
      _this setDir -46.077183;
      _this setPos [16580.924, 18335.344, -0.00019454956];
    };

    _vehicle_140 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_Mil_House", [16649.004, 18337.893, -4.7683716e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_140 = _this;
      _this setDir -45.275829;
      _this setPos [16649.004, 18337.893, -4.7683716e-005];
    };
    _vehicle_148 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_aif_strazni_vez", [16708.514, 18410.43, 0.00048828125], [], 0, "CAN_COLLIDE"];
      _vehicle_148 = _this;
      _this setDir 46.963608;
      _this setPos [16708.514, 18410.43, 0.00048828125];
    };

    _vehicle_149 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_aif_hlaska", [16710.66, 18378.42, -0.46142313], [], 0, "CAN_COLLIDE"];
      _vehicle_149 = _this;
      _this setDir 141.8972;
      _this setPos [16710.66, 18378.42, -0.46142313];
    };

    _vehicle_150 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_aif_billboard_typowy_mirek", [16641.555, 18264.141, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_150 = _this;
      _this setDir 234.59715;
      _this setPos [16641.555, 18264.141, 3.8146973e-005];
    };

    _vehicle_151 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_aif_billboard_waldbrand", [16580.424, 18211.078, -4.5776367e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_151 = _this;
      _this setDir 131.82303;
      _this setPos [16580.424, 18211.078, -4.5776367e-005];
    };

    _vehicle_152 = objNull;
    if (true) then
    {
      _this = createVehicle ["MBG_Killhouse_3_InEditor", [16672.475, 18366.926, -0.40931386], [], 0, "CAN_COLLIDE"];
      _vehicle_152 = _this;
      _this setDir 316.93411;
      _this setPos [16672.475, 18366.926, -0.40931386];
    };

    _vehicle_153 = objNull;
    if (true) then
    {
      _this = createVehicle ["MBG_Killhouse_4_InEditor", [16694.447, 18388.039, 0.00011444092], [], 0, "CAN_COLLIDE"];
      _vehicle_153 = _this;
      _this setDir -38.088356;
      _this setPos [16694.447, 18388.039, 0.00011444092];
    };

    _vehicle_155 = objNull;
    if (true) then
    {
      _this = createVehicle ["MBG_Warehouse_InEditor", [16530.555, 18335.969, 0.13657689], [], 0, "CAN_COLLIDE"];
      _vehicle_155 = _this;
      _this setDir 398.54703;
      _this setPos [16530.555, 18335.969, 0.13657689];
    };

    _vehicle_157 = objNull;
    if (true) then
    {
      _this = createVehicle ["MBG_Killhouse_2_InEditor", [16669.738, 18423.441, 0.00023078918], [], 0, "CAN_COLLIDE"];
      _vehicle_157 = _this;
      _this setDir 61.30526;
      _this setPos [16669.738, 18423.441, 0.00023078918];
    };

    _vehicle_158 = objNull;
    if (true) then
    {
      _this = createVehicle ["MBG_Killhouse_1_InEditor", [16684.498, 18410.682, -4.5776367e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_158 = _this;
      _this setDir -219.30763;
      _this setPos [16684.498, 18410.682, -4.5776367e-005];
    };

    _vehicle_159 = objNull;
    if (true) then
    {
      _this = createVehicle ["MBG_Killhouse_3_InEditor", [16601.65, 18353.16, -0.37880591], [], 0, "CAN_COLLIDE"];
      _vehicle_159 = _this;
      _this setDir 46.599258;
      _this setPos [16601.65, 18353.16, -0.37880591];
    };

    _vehicle_160 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_Barracks_USMC", [16487.801, 18438.883, -0.00036621094], [], 0, "CAN_COLLIDE"];
      _vehicle_160 = _this;
      _this setDir 39.658638;
      _this setPos [16487.801, 18438.883, -0.00036621094];
    };

    _vehicle_161 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_Barricade_EP1", [16497.328, 18454.152, -0.00022506714], [], 0, "CAN_COLLIDE"];
      _vehicle_161 = _this;
      _this setDir 29.911074;
      _this setPos [16497.328, 18454.152, -0.00022506714];
    };

    _vehicle_162 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_Barricade", [16667.926, 18468.559, 7.2479248e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_162 = _this;
      _this setDir -91.954666;
      _this setPos [16667.926, 18468.559, 7.2479248e-005];
    };

    _vehicle_163 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_fortified_nest_big", [16327.973, 18498.938, -0.00034332275], [], 0, "CAN_COLLIDE"];
      _vehicle_163 = _this;
      _this setDir -141.37184;
      _this setPos [16327.973, 18498.938, -0.00034332275];
    };

    _vehicle_164 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_fortified_nest_big_EP1", [16302.971, 18527.467, 0.00032424927], [], 0, "CAN_COLLIDE"];
      _vehicle_164 = _this;
      _this setDir -142.46854;
      _this setPos [16302.971, 18527.467, 0.00032424927];
    };

    _vehicle_165 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Fort_Watchtower", [16341.92, 18520.053, -0.00011444092], [], 0, "CAN_COLLIDE"];
      _vehicle_165 = _this;
      _this setDir -53.345531;
      _this setPos [16341.92, 18520.053, -0.00011444092];
    };

    _vehicle_167 = objNull;
    if (true) then
    {
      _this = createVehicle ["Hhedgehog_concreteBig", [16534.828, 18622.496, 0.00014877319], [], 0, "CAN_COLLIDE"];
      _vehicle_167 = _this;
      _this setDir 45.356472;
      _this setPos [16534.828, 18622.496, 0.00014877319];
    };

    _vehicle_168 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_fort_artillery_nest", [16663.092, 18444.744, 0.00019454956], [], 0, "CAN_COLLIDE"];
      _vehicle_168 = _this;
      _this setDir 72.028801;
      _this setPos [16663.092, 18444.744, 0.00019454956];
    };

    _vehicle_170 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_fort_rampart", [16601.512, 18260.516, 0.25301817], [], 0, "CAN_COLLIDE"];
      _vehicle_170 = _this;
      _this setDir -46.089577;
      _this setPos [16601.512, 18260.516, 0.25301817];
    };

    _vehicle_171 = objNull;
    if (true) then
    {
      _this = createVehicle ["ForestCamoNet_DZ", [16495.338, 18226.5, 0.80319887], [], 0, "CAN_COLLIDE"];
      _vehicle_171 = _this;
      _this setDir -51.7887;
      _this setPos [16495.338, 18226.5, 0.80319887];
    };

    _vehicle_173 = objNull;
    if (true) then
    {
      _this = createVehicle ["ForestLargeCamoNet_DZ", [16322.796, 18550.543, 0.26929751], [], 0, "CAN_COLLIDE"];
      _vehicle_173 = _this;
      _this setDir -48.186306;
      _this setPos [16322.796, 18550.543, 0.26929751];
    };

    _vehicle_181 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_R2_Boulder1", [16503.645, 18601.227, 0.00024414063], [], 0, "CAN_COLLIDE"];
      _vehicle_181 = _this;
      _this setPos [16503.645, 18601.227, 0.00024414063];
    };

    _vehicle_182 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_R2_Rock1", [16441.883, 18549.244, -6.43786], [], 0, "CAN_COLLIDE"];
      _vehicle_182 = _this;
      _this setPos [16441.883, 18549.244, -6.43786];
    };

    _vehicle_184 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_R2_RockWall", [16506.033, 18528.545, -15.177604], [], 0, "CAN_COLLIDE"];
      _vehicle_184 = _this;
      _this setDir -128.22287;
      _this setPos [16506.033, 18528.545, -15.177604];
    };

    _vehicle_201 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_R2_RockWall", [16445.42, 18606.682, -4.0675106], [], 0, "CAN_COLLIDE"];
      _vehicle_201 = _this;
      _this setDir -20.238966;
      _this setPos [16445.42, 18606.682, -4.0675106];
    };

    _vehicle_202 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_R2_Rock1", [16485.297, 18504.93, -2.8305805], [], 0, "CAN_COLLIDE"];
      _vehicle_202 = _this;
      _this setPos [16485.297, 18504.93, -2.8305805];
    };

    _vehicle_205 = objNull;
    if (true) then
    {
      _this = createVehicle ["M6_EP1", [16632.256, 18360.469, -1.9073486e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_205 = _this;
      _this setDir -44.768257;
      _this setVehicleLock "LOCKED";
      _this setPos [16632.256, 18360.469, -1.9073486e-005];
    };

    _vehicle_206 = objNull;
    if (true) then
    {
      _this = createVehicle ["T72_TK_EP1", [16600.406, 18371.199, -0.24445945], [], 0, "CAN_COLLIDE"];
      _vehicle_206 = _this;
      _this setDir 403.29407;
      _this setVehicleLock "LOCKED";
      _this setPos [16600.406, 18371.199, -0.24445945];
    };

    _vehicle_207 = objNull;
    if (true) then
    {
      _this = createVehicle ["GAZ_Vodnik", [16618.246, 18356.732, 0.00022888184], [], 0, "CAN_COLLIDE"];
      _vehicle_207 = _this;
      _this setDir 42.984531;
      _this setPos [16618.246, 18356.732, 0.00022888184];
        _this setVariable ["Sarge",true];
    };

    _vehicle_208 = objNull;
    if (true) then
    {
      _this = createVehicle ["GAZ_Vodnik", [16604.127, 18366.021, -0.00023651123], [], 0, "CAN_COLLIDE"];
      _vehicle_208 = _this;
      _this setDir 43.898033;
      _this setPos [16604.127, 18366.021, -0.00023651123];
        _this setVariable ["Sarge",true];
    };

    _vehicle_209 = objNull;
    if (true) then
    {
      _this = createVehicle ["GAZ_Vodnik", [16446.83, 18393.859, 6.8664551e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_209 = _this;
      _this setDir 40.380585;
      _this setPos [16446.83, 18393.859, 6.8664551e-005];
        _this setVariable ["Sarge",true];
    };
    _vehicle_211 = objNull;
    if (true) then
    {
      _this = createVehicle ["ATV_CZ_EP1", [16494.951, 18223.672, 0.00050735474], [], 0, "CAN_COLLIDE"];
      _vehicle_211 = _this;
      _this setDir 125.2091;
      _this setVehicleLock "LOCKED";
      _this setPos [16494.951, 18223.672, 0.00050735474];
    };

    _vehicle_213 = objNull;
    if (true) then
    {
      _this = createVehicle ["Ikarus_TK_CIV_EP1", [16561.91, 18305.545, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_213 = _this;
      _this setDir 219.75394;
      _this setVehicleLock "LOCKED";
      _this setPos [16561.91, 18305.545, -6.1035156e-005];
    };

    _vehicle_214 = objNull;
    if (true) then
    {
      _this = createVehicle ["Ikarus_TK_CIV_EP1", [16565.348, 18301.592, 0.00017547607], [], 0, "CAN_COLLIDE"];
      _vehicle_214 = _this;
      _this setDir 220.03625;
      _this setVehicleLock "LOCKED";
      _this setPos [16565.348, 18301.592, 0.00017547607];
        _this setVariable ["Sarge",true];
    };

    _vehicle_215 = objNull;
    if (true) then
    {
      _this = createVehicle ["VolhaLimo_TK_CIV_EP1_DZE4", [16597.879, 18232.939, 0.00012969971], [], 0, "CAN_COLLIDE"];
      _vehicle_215 = _this;
      _this setDir 129.3797;
      _this setPos [16597.879, 18232.939, 0.00012969971];
        _this setVariable ["Sarge",true];
    };

    _vehicle_218 = objNull;
    if (true) then
    {
      _this = createVehicle ["HMMWV_DES_EP1", [16595.195, 18229.219, 0.0001335144], [], 0, "CAN_COLLIDE"];
      _vehicle_218 = _this;
      _this setDir 129.03534;
      _this setPos [16595.195, 18229.219, 0.0001335144];
        _this setVariable ["Sarge",true];
    };

    _vehicle_219 = objNull;
    if (true) then
    {
      _this = createVehicle ["Lada1_TK_CIV_EP1_DZE2", [16592.35, 18226.277, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_219 = _this;
      _this setDir 128.28429;
      _this setPos [16592.35, 18226.277, 2.2888184e-005];
        _this setVariable ["Sarge",true];
    };

    _vehicle_220 = objNull;
    if (true) then
    {
      _this = createVehicle ["LandRover_CZ_EP1", [16571.033, 18300.695, -0.15992869], [], 0, "CAN_COLLIDE"];
      _vehicle_220 = _this;
      _this setDir -140.00681;
      _this setVehicleLock "LOCKED";
      _this setPos [16571.033, 18300.695, -0.15992869];
        _this setVariable ["Sarge",true];
    };

    _vehicle_221 = objNull;
    if (true) then
    {
      _this = createVehicle ["LandRover_CZ_EP1", [16579.756, 18293.477, 0.0001449585], [], 0, "CAN_COLLIDE"];
      _vehicle_221 = _this;
      _this setDir -139.38895;
      _this setVehicleLock "LOCKED";
      _this setPos [16579.756, 18293.477, 0.0001449585];
        _this setVariable ["Sarge",true];
    };

    _vehicle_222 = objNull;
    if (true) then
    {
      _this = createVehicle ["LandRover_CZ_EP1", [16575.867, 18297.078, -0.10089826], [], 0, "CAN_COLLIDE"];
      _vehicle_222 = _this;
      _this setDir -136.89708;
      _this setVehicleLock "LOCKED";
      _this setPos [16575.867, 18297.078, -0.10089826];
        _this setVariable ["Sarge",true];
    };

    _vehicle_223 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_fortified_nest_big_EP1", [16076.085, 18734.752, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_223 = _this;
      _this setDir 33.902309;
      _this setPos [16076.085, 18734.752, 1.5258789e-005];
    };

    _vehicle_224 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_fortified_nest_big_EP1", [16511.352, 18830.031, -8.2015991e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_224 = _this;
      _this setDir -3.7757528;
      _this setPos [16511.352, 18830.031, -8.2015991e-005];
    };
    _vehicle_225 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_fortified_nest_big_EP1", [16849.219, 18509.061, 0.35498264], [], 0, "CAN_COLLIDE"];
      _vehicle_225 = _this;
      _this setDir -138.74542;
      _this setPos [16849.219, 18509.061, 0.35498264];
    };

    _vehicle_226 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_fortified_nest_big_EP1", [16536.338, 18828.641, 0.00014686584], [], 0, "CAN_COLLIDE"];
      _vehicle_226 = _this;
      _this setPos [16536.338, 18828.641, 0.00014686584];
    };

    _vehicle_227 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_fortified_nest_big_EP1", [16700.402, 18068.971, 0.032098878], [], 0, "CAN_COLLIDE"];
      _vehicle_227 = _this;
      _this setDir 59.101658;
      _this setPos [16700.402, 18068.971, 0.032098878];
    };

    _vehicle_228 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Fort_Watchtower_EP1", [16714.748, 18082.504, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_228 = _this;
      _this setDir -38.197216;
      _this setPos [16714.748, 18082.504, -7.6293945e-006];
    };

    _vehicle_230 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16510.266, 18839.814, 7.6293945e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_230 = _this;
      _this setDir -1.7156022;
      _this setPos [16510.266, 18839.814, 7.6293945e-005];
    };

    _vehicle_231 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16502.455, 18831.98, -0.19243661], [], 0, "CAN_COLLIDE"];
      _vehicle_231 = _this;
      _this setDir -86.259514;
      _this setPos [16502.455, 18831.98, -0.19243661];
    };

    _vehicle_232 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16538.621, 18840.578, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_232 = _this;
      _this setDir -180.92348;
      _this setPos [16538.621, 18840.578, -7.6293945e-006];
    };

    _vehicle_233 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16545.92, 18832.455, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_233 = _this;
      _this setDir -91.155991;
      _this setPos [16545.92, 18832.455, 1.7166138e-005];
    };

    _vehicle_234 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16546.232, 18817.508, -0.052761622], [], 0, "CAN_COLLIDE"];
      _vehicle_234 = _this;
      _this setDir -90.993523;
      _this setPos [16546.232, 18817.508, -0.052761622];
    };

    _vehicle_235 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16719.09, 18073.326, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_235 = _this;
      _this setDir -36.839619;
      _this setPos [16719.09, 18073.326, -6.1035156e-005];
    };

    _vehicle_236 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16706.855, 18064.707, 0.00012207031], [], 0, "CAN_COLLIDE"];
      _vehicle_236 = _this;
      _this setDir -33.144478;
      _this setPos [16706.855, 18064.707, 0.00012207031];
    };

    _vehicle_237 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16695.695, 18066.604, 0.00039672852], [], 0, "CAN_COLLIDE"];
      _vehicle_237 = _this;
      _this setDir 54.056229;
      _this setPos [16695.695, 18066.604, 0.00039672852];
    };

    _vehicle_238 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16721.094, 18083.461, -7.6293945e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_238 = _this;
      _this setDir 49.251995;
      _this setPos [16721.094, 18083.461, -7.6293945e-005];
    };

    _vehicle_239 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16711.037, 18094.975, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_239 = _this;
      _this setDir 48.18314;
      _this setPos [16711.037, 18094.975, 6.1035156e-005];
    };

    _vehicle_240 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16686.484, 18078.99, -0.00011444092], [], 0, "CAN_COLLIDE"];
      _vehicle_240 = _this;
      _this setDir 52.082756;
      _this setPos [16686.484, 18078.99, -0.00011444092];
    };

    _vehicle_241 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16843.295, 18513.484, 0.55835724], [], 0, "CAN_COLLIDE"];
      _vehicle_241 = _this;
      _this setDir -43.765354;
      _this setPos [16843.295, 18513.484, 0.55835724];
    };

    _vehicle_242 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16853.346, 18515.117, -0.18217516], [], 0, "CAN_COLLIDE"];
      _vehicle_242 = _this;
      _this setDir 43.493286;
      _this setPos [16853.346, 18515.117, -0.18217516];
    };

    _vehicle_243 = objNull;
    if (true) then
    {
      _this = createVehicle ["Base_WarfareBBarrier10x", [16870.826, 18500.029, -6.8664551e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_243 = _this;
      _this setDir -140.55891;
      _this setPos [16870.826, 18500.029, -6.8664551e-005];
    };

    _vehicle_244 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_aif_hlaska", [16709.387, 18076.709, -0.6753993], [], 0, "CAN_COLLIDE"];
      _vehicle_244 = _this;
      _this setDir -219.08028;
      _this setPos [16709.387, 18076.709, -0.6753993];
    };

    _vehicle_245 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_aif_hlaska", [16866.629, 18496.922, -0.44464734], [], 0, "CAN_COLLIDE"];
      _vehicle_245 = _this;
      _this setDir 33.731918;
      _this setPos [16866.629, 18496.922, -0.44464734];
    };

    _vehicle_246 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_aif_hlaska", [16572.691, 18489.107, -0.45603597], [], 0, "CAN_COLLIDE"];
      _vehicle_246 = _this;
      _this setDir -23.258474;
      _this setPos [16572.691, 18489.107, -0.45603597];
    };

    _vehicle_248 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_0_2000", [16686.26, 18394.473, 0.19144185], [], 0, "CAN_COLLIDE"];
      _vehicle_248 = _this;
      _this setDir 52.801888;
      _this setPos [16686.26, 18394.473, 0.19144185];
    };

    _vehicle_249 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_0_2000", [16672.668, 18383.887, -4.9591064e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_249 = _this;
      _this setDir 51.847954;
      _this setPos [16672.668, 18383.887, -4.9591064e-005];
    };

    _vehicle_252 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_25", [16653.793, 18368.068, 0.00011825562], [], 0, "CAN_COLLIDE"];
      _vehicle_252 = _this;
      _this setDir 49.991974;
      _this setPos [16653.793, 18368.068, 0.00011825562];
    };

    _vehicle_253 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_0_2000", [16654.303, 18370.221, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_253 = _this;
      _this setDir -38.775784;
      _this setPos [16654.303, 18370.221, 5.3405762e-005];
    };

    _vehicle_254 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_0_2000", [16640.848, 18356.652, -0.00026130676], [], 0, "CAN_COLLIDE"];
      _vehicle_254 = _this;
      _this setDir 48.125195;
      _this setPos [16640.848, 18356.652, -0.00026130676];
    };

    _vehicle_255 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_10_25", [16638.035, 18353.453, -0.00026321411], [], 0, "CAN_COLLIDE"];
      _vehicle_255 = _this;
      _this setDir 36.553394;
      _this setPos [16638.035, 18353.453, -0.00026321411];
    };

    _vehicle_256 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_10_75", [16638.008, 18353.535, 0.00021362305], [], 0, "CAN_COLLIDE"];
      _vehicle_256 = _this;
      _this setDir -142.40968;
      _this setPos [16638.008, 18353.535, 0.00021362305];
    };

    _vehicle_258 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_10_100", [16629.223, 18344.07, 0.00019836426], [], 0, "CAN_COLLIDE"];
      _vehicle_258 = _this;
      _this setDir -131.85629;
      _this setPos [16629.223, 18344.07, 0.00019836426];
    };

    _vehicle_267 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_60_10", [16615.512, 18333.729, 5.7220459e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_267 = _this;
      _this setDir -120.45737;
      _this setPos [16615.512, 18333.729, 5.7220459e-005];
    };

    _vehicle_269 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_15_75", [16605.6, 18333.5, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_269 = _this;
      _this setDir -58.152832;
      _this setPos [16605.6, 18333.5, 3.8146973e-006];
    };

    _vehicle_271 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_25", [16590.629, 18345.752, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_271 = _this;
      _this setDir -40.608719;
      _this setPos [16590.629, 18345.752, 1.1444092e-005];
    };

    _vehicle_272 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_10_75", [16564.506, 18373.18, -0.00022888184], [], 0, "CAN_COLLIDE"];
      _vehicle_272 = _this;
      _this setDir 125.75478;
      _this setPos [16564.506, 18373.18, -0.00022888184];
    };

    _vehicle_273 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_25", [16564.672, 18373.172, 8.7738037e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_273 = _this;
      _this setDir -55.048969;
      _this setPos [16564.672, 18373.172, 8.7738037e-005];
    };

    _vehicle_274 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_30_25", [16532.398, 18391.627, 0.00020980835], [], 0, "CAN_COLLIDE"];
      _vehicle_274 = _this;
      _this setDir 94.981522;
      _this setPos [16532.398, 18391.627, 0.00020980835];
    };

    _vehicle_275 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_30_25", [16520.213, 18389.238, 0.056736063], [], 0, "CAN_COLLIDE"];
      _vehicle_275 = _this;
      _this setDir 64.250557;
      _this setPos [16520.213, 18389.238, 0.056736063];
    };

    _vehicle_277 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_22_50", [16506.891, 18380.699, -4.9591064e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_277 = _this;
      _this setDir 48.187817;
      _this setPos [16506.891, 18380.699, -4.9591064e-005];
    };

    _vehicle_278 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_25", [16490.145, 18362.547, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_278 = _this;
      _this setDir 42.523712;
      _this setPos [16490.145, 18362.547, 9.1552734e-005];
    };

    _vehicle_279 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_10_75", [16482.314, 18352.24, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_279 = _this;
      _this setDir 32.042999;
      _this setPos [16482.314, 18352.24, 4.5776367e-005];
    };

    _vehicle_280 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_6konec", [16479.094, 18347.063, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_280 = _this;
      _this setDir 31.781784;
      _this setPos [16479.094, 18347.063, 1.9073486e-005];
    };

    _vehicle_282 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_15_75", [16628.918, 18396.359, -8.5830688e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_282 = _this;
      _this setDir 123.13968;
      _this setPos [16628.918, 18396.359, -8.5830688e-005];
    };

    _vehicle_283 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_25", [16629.012, 18396.34, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_283 = _this;
      _this setDir -56.358543;
      _this setPos [16629.012, 18396.34, 4.5776367e-005];
    };

    _vehicle_284 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_25", [16608.354, 18410.215, 0.00036621094], [], 0, "CAN_COLLIDE"];
      _vehicle_284 = _this;
      _this setDir -56.805565;
      _this setPos [16608.354, 18410.215, 0.00036621094];
    };

    _vehicle_285 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_15_75", [16587.695, 18423.861, -9.9182129e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_285 = _this;
      _this setDir -56.414719;
      _this setPos [16587.695, 18423.861, -9.9182129e-005];
    };

    _vehicle_286 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_15_75", [16573.154, 18436.49, 2.6702881e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_286 = _this;
      _this setDir -40.273655;
      _this setPos [16573.154, 18436.49, 2.6702881e-005];
    };

    _vehicle_287 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_15_75", [16551.426, 18468.928, 0.00029754639], [], 0, "CAN_COLLIDE"];
      _vehicle_287 = _this;
      _this setDir 137.69351;
      _this setPos [16551.426, 18468.928, 0.00029754639];
    };

    _vehicle_288 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_25", [16551.564, 18468.777, 0.00022315979], [], 0, "CAN_COLLIDE"];
      _vehicle_288 = _this;
      _this setDir -45.244167;
      _this setPos [16551.564, 18468.777, 0.00022315979];
    };

    _vehicle_289 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_15_75", [16519.129, 18499.02, 0.00060081482], [], 0, "CAN_COLLIDE"];
      _vehicle_289 = _this;
      _this setDir 123.30855;
      _this setPos [16519.129, 18499.02, 0.00060081482];
    };

    _vehicle_290 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_grav_6konec", [16513.871, 18502.209, 0.00053787231], [], 0, "CAN_COLLIDE"];
      _vehicle_290 = _this;
      _this setDir 120.65183;
      _this setPos [16513.871, 18502.209, 0.00053787231];
    };

    _vehicle_292 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_runway_beton_end1", [16612.324, 18361.85, -0.00016784668], [], 0, "CAN_COLLIDE"];
      _vehicle_292 = _this;
      _this setDir 134.74274;
      _this setPos [16612.324, 18361.85, -0.00016784668];
    };

    _vehicle_293 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_runway_beton_end1", [16609.486, 18390.908, 0.00026130676], [], 0, "CAN_COLLIDE"];
      _vehicle_293 = _this;
      _this setDir -45.320911;
      _this setPos [16609.486, 18390.908, 0.00026130676];
    };

    _vehicle_302 = objNull;
    if (true) then
    {
      _this = createVehicle ["DesertCamoNet_DZ", [16613.311, 18356.691, 0.57556409], [], 0, "CAN_COLLIDE"];
      _vehicle_302 = _this;
      _this setDir -135.32428;
      _this setPos [16613.311, 18356.691, 0.57556409];
    };

    _vehicle_304 = objNull;
    if (true) then
    {
      _this = createVehicle ["Hedgehog_EP1", [16575.357, 18383.404, 0.00017166138], [], 0, "CAN_COLLIDE"];
      _vehicle_304 = _this;
      _this setPos [16575.357, 18383.404, 0.00017166138];
    };

    _vehicle_307 = objNull;
    if (true) then
    {
      _this = createVehicle ["StorageShed_DZ", [16618.723, 18345.93, 0.00014877319], [], 0, "CAN_COLLIDE"];
      _vehicle_307 = _this;
      _this setDir 224.41837;
      _this setPos [16618.723, 18345.93, 0.00014877319];
    };

    _vehicle_308 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16576.918, 18386.613, 0.00011444092], [], 0, "CAN_COLLIDE"];
      _vehicle_308 = _this;
      _this setDir -43.204979;
      _this setPos [16576.918, 18386.613, 0.00011444092];
    };

    _vehicle_311 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16582.965, 18392.002, -0.00012969971], [], 0, "CAN_COLLIDE"];
      _vehicle_311 = _this;
      _this setDir -42.974495;
      _this setPos [16582.965, 18392.002, -0.00012969971];
    };

    _vehicle_312 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16577.459, 18380.561, -0.00012588501], [], 0, "CAN_COLLIDE"];
      _vehicle_312 = _this;
      _this setDir 46.896885;
      _this setPos [16577.459, 18380.561, -0.00012588501];
    };

    _vehicle_313 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16583.635, 18375.047, -0.19408023], [], 0, "CAN_COLLIDE"];
      _vehicle_313 = _this;
      _this setDir 44.66581;
      _this setPos [16583.635, 18375.047, -0.19408023];
    };

    _vehicle_314 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16589.545, 18368.854, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_314 = _this;
      _this setDir 45.049858;
      _this setPos [16589.545, 18368.854, 2.2888184e-005];
    };

    _vehicle_315 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16588.293, 18398.045, 0.00016975403], [], 0, "CAN_COLLIDE"];
      _vehicle_315 = _this;
      _this setDir -46.68858;
      _this setPos [16588.293, 18398.045, 0.00016975403];
    };

    _vehicle_316 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16593.814, 18403.791, 0.00041389465], [], 0, "CAN_COLLIDE"];
      _vehicle_316 = _this;
      _this setDir -44.726971;
      _this setPos [16593.814, 18403.791, 0.00041389465];
    };

    _vehicle_317 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16597.332, 18407.555, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
      _vehicle_317 = _this;
      _this setDir -45.441471;
      _this setPos [16597.332, 18407.555, 9.5367432e-006];
    };

    _vehicle_318 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16603.439, 18408.072, 0.00040817261], [], 0, "CAN_COLLIDE"];
      _vehicle_318 = _this;
      _this setDir 41.112598;
      _this setPos [16603.439, 18408.072, 0.00040817261];
    };

    _vehicle_319 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16609.242, 18402.74, 0.00045585632], [], 0, "CAN_COLLIDE"];
      _vehicle_319 = _this;
      _this setDir 42.946472;
      _this setPos [16609.242, 18402.74, 0.00045585632];
    };

    _vehicle_320 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16615.457, 18397.219, -0.00011634827], [], 0, "CAN_COLLIDE"];
      _vehicle_320 = _this;
      _this setDir 43.212498;
      _this setPos [16615.457, 18397.219, -0.00011634827];
    };

    _vehicle_321 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16615.254, 18343.523, -9.9182129e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_321 = _this;
      _this setDir 42.012505;
      _this setPos [16615.254, 18343.523, -9.9182129e-005];
    };

    _vehicle_322 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16620.809, 18344.787, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_322 = _this;
      _this setDir -39.991989;
      _this setPos [16620.809, 18344.787, 3.0517578e-005];
    };

    _vehicle_323 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16626.543, 18350.137, -0.00020599365], [], 0, "CAN_COLLIDE"];
      _vehicle_323 = _this;
      _this setDir -43.30632;
      _this setPos [16626.543, 18350.137, -0.00020599365];
    };

    _vehicle_324 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16631.863, 18355.77, -0.00027084351], [], 0, "CAN_COLLIDE"];
      _vehicle_324 = _this;
      _this setDir -45.606129;
      _this setPos [16631.863, 18355.77, -0.00027084351];
    };

    _vehicle_325 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16637.33, 18361.316, 0.0001449585], [], 0, "CAN_COLLIDE"];
      _vehicle_325 = _this;
      _this setDir -46.03019;
      _this setPos [16637.33, 18361.316, 0.0001449585];
    };

    _vehicle_326 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16642.998, 18367.111, 0.00015830994], [], 0, "CAN_COLLIDE"];
      _vehicle_326 = _this;
      _this setDir -43.805981;
      _this setPos [16642.998, 18367.111, 0.00015830994];
    };

    _vehicle_327 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16642.502, 18372.057, 0.00012016296], [], 0, "CAN_COLLIDE"];
      _vehicle_327 = _this;
      _this setDir 46.300411;
      _this setPos [16642.502, 18372.057, 0.00012016296];
    };

    _vehicle_328 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16636.549, 18377.602, 1.335144e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_328 = _this;
      _this setDir 43.503277;
      _this setPos [16636.549, 18377.602, 1.335144e-005];
    };

    _vehicle_329 = objNull;
    if (true) then
    {
      _this = createVehicle ["Fort_RazorWire", [16630.748, 18382.656, 0.00019073486], [], 0, "CAN_COLLIDE"];
      _vehicle_329 = _this;
      _this setDir 48.798306;
      _this setPos [16630.748, 18382.656, 0.00019073486];
    };

    _vehicle_330 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Fire_barrel_burning", [16610.541, 18364.301, 4.9591064e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_330 = _this;
      _this setPos [16610.541, 18364.301, 4.9591064e-005];
    };

    _vehicle_332 = objNull;
    if (true) then
    {
      _this = createVehicle ["TK_GUE_WarfareBFieldhHospital_Base_EP1", [16592.443, 18378.582, 7.6293945e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_332 = _this;
      _this setDir -46.850914;
      _this setPos [16592.443, 18378.582, 7.6293945e-005];
    };

    _vehicle_333 = objNull;
    if (true) then
    {
      _this = createVehicle ["TK_GUE_WarfareBHeavyFactory_Base_EP1", [16545.428, 18365.723, -0.12032238], [], 0, "CAN_COLLIDE"];
      _vehicle_333 = _this;
      _this setDir -139.36787;
      _this setPos [16545.428, 18365.723, -0.12032238];
    };

    _vehicle_334 = objNull;
    if (true) then
    {
      _this = createVehicle ["TK_GUE_WarfareBLightFactory_base_EP1", [16561.701, 18349.988, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_334 = _this;
      _this setDir -143.12114;
      _this setPos [16561.701, 18349.988, 1.7166138e-005];
    };

    _vehicle_335 = objNull;
    if (true) then
    {
      _this = createVehicle ["Mi17_rockets_RU", [16606.162, 18392.037, -0.42094889], [], 0, "CAN_COLLIDE"];
      _vehicle_335 = _this;
      _this setDir -41.865089;
      _this setVehicleLock "LOCKED";
      _this setPos [16606.162, 18392.037, -0.42094889];
    };

    _vehicle_336 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_CamoNet_EAST_var1", [16690.691, 18085.664, 1.9073486e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_336 = _this;
      _this setDir 50.597382;
      _this setPos [16690.691, 18085.664, 1.9073486e-005];
    };

    _vehicle_337 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Campfire_burning", [16697.195, 18076.039, -0.00017547607], [], 0, "CAN_COLLIDE"];
      _vehicle_337 = _this;
      _this setPos [16697.195, 18076.039, -0.00017547607];
    };

    _vehicle_338 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Campfire_burning", [16855.252, 18507.975, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_338 = _this;
      _this setPos [16855.252, 18507.975, 1.1444092e-005];
    };

    _vehicle_339 = objNull;
    if (true) then
    {
      _this = createVehicle ["ZavoraAnim", [16867.748, 18508.541, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_339 = _this;
      _this setDir 42.640842;
      _this setPos [16867.748, 18508.541, 9.1552734e-005];
    };

    _vehicle_340 = objNull;
    if (true) then
    {
      _this = createVehicle ["ZavoraAnim", [16527.418, 18840.461, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_340 = _this;
      _this setDir -1.9375198;
      _this setPos [16527.418, 18840.461, 4.5776367e-005];
    };

    _vehicle_341 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Campfire_burning", [16536.838, 18819.293, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_341 = _this;
      _this setPos [16536.838, 18819.293, 3.8146973e-005];
    };

    _vehicle_344 = objNull;
    if (true) then
    {
      _this = createVehicle ["ZavoraAnim", [16534.609, 18630.703, 4.196167e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_344 = _this;
      _this setDir 149.47165;
      _this setPos [16534.609, 18630.703, 4.196167e-005];
    };

    _vehicle_345 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_CamoNet_EAST_var1", [16538.479, 18815.176, 0.30376112], [], 0, "CAN_COLLIDE"];
      _vehicle_345 = _this;
      _this setDir 91.273232;
      _this setPos [16538.479, 18815.176, 0.30376112];
    };

    _vehicle_346 = objNull;
    if (true) then
    {
      _this = createVehicle ["HMMWV_M1151_M2_CZ_DES_EP1_DZ", [16504.469, 18818.727, 2.4795532e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_346 = _this;
      _this setDir 88.85569;
      _this setPos [16504.469, 18818.727, 2.4795532e-005];
          _this setVariable ["Sarge",true];
    };

    _vehicle_348 = objNull;
    if (true) then
    {
      _this = createVehicle ["BAF_L2A1_Tripod_D", [16710.852, 18377.096, 7.1250048], [], 0, "CAN_COLLIDE"];
      _vehicle_348 = _this;
      _this setDir 160.86052;
      _this setPos [16710.852, 18377.096, 7.1250048];
    };


    _vehicle_350 = objNull;
    if (true) then
    {
      _this = createVehicle ["BAF_L2A1_Tripod_D", [16506.164, 18333.729, 11.577097], [], 0, "CAN_COLLIDE"];
      _vehicle_350 = _this;
      _this setDir -115.02006;
      _this setPos [16506.164, 18333.729, 11.577097];
        _this setVariable ["Sarge",true];
    };

    _vehicle_351 = objNull;
    if (true) then
    {
      _this = createVehicle ["BAF_L2A1_Tripod_D", [16413.844, 18350.432, 5.9093561], [], 0, "CAN_COLLIDE"];
      _vehicle_351 = _this;
      _this setPos [16413.844, 18350.432, 5.9093561];
          _this setVariable ["MalSar",true];
      };

    _vehicle_352 = objNull;
    if (true) then
    {
      _this = createVehicle ["BAF_L2A1_Tripod_D", [16709.803, 18075.619, 6.9121194], [], 0, "CAN_COLLIDE"];
      _vehicle_352 = _this;
      _this setDir 135.60306;
      _this setPos [16709.803, 18075.619, 6.9121194];
        _this setVariable ["Sarge",true];
    };
    _vehicle_353 = objNull;
    if (true) then
    {
      _this = createVehicle ["BAF_L2A1_Tripod_D", [16536.596, 18309.988, 11.276181], [], 0, "CAN_COLLIDE"];
      _vehicle_353 = _this;
      _this setDir -189.37328;
      _this setPos [16536.596, 18309.988, 11.276181];
       _this setVariable ["MalSar",true];
    };

    _vehicle_355 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_BagFenceLong", [16413.309, 18349.16, 5.9623895], [], 0, "CAN_COLLIDE"];
      _vehicle_355 = _this;
      _this setDir 32.053253;
      _this setPos [16413.309, 18349.16, 5.9623895];
    };

    _vehicle_356 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_BagFenceLong", [16413.047, 18350.916, 5.980278], [], 0, "CAN_COLLIDE"];
      _vehicle_356 = _this;
      _this setDir -55.837883;
      _this setPos [16413.047, 18350.916, 5.980278];
    };

    _vehicle_357 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_BagFenceLong", [16414.947, 18351.529, 5.9646788], [], 0, "CAN_COLLIDE"];
      _vehicle_357 = _this;
      _this setDir -146.34828;
      _this setPos [16414.947, 18351.529, 5.9646788];
    };

    _vehicle_375 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Misc_Cargo2E_EP1", [16538.211, 18343.822, 0.34952152], [], 0, "CAN_COLLIDE"];
      _vehicle_375 = _this;
      _this setDir 33.874111;
      _this setPos [16538.211, 18343.822, 0.34952152];
    };

    _vehicle_376 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Misc_Cargo2E", [16531.943, 18337.91, 0.35843581], [], 0, "CAN_COLLIDE"];
      _vehicle_376 = _this;
      _this setDir 68.515137;
      _this setPos [16531.943, 18337.91, 0.35843581];
    };

    _vehicle_377 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Misc_Cargo2E", [16534.266, 18346.98, 0.35110426], [], 0, "CAN_COLLIDE"];
      _vehicle_377 = _this;
      _this setDir 34.756653;
      _this setPos [16534.266, 18346.98, 0.35110426];
    };

    _vehicle_378 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Fire_barrel_burning", [16545.482, 18322.758, 0.33204854], [], 0, "CAN_COLLIDE"];
      _vehicle_378 = _this;
      _this setPos [16545.482, 18322.758, 0.33204854];
    };

    _vehicle_379 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_Fire_barrel_burning", [16551.006, 18339.73, 0.76856786], [], 0, "CAN_COLLIDE"];
      _vehicle_379 = _this;
      _this setPos [16551.006, 18339.73, 0.76856786];
    };


    _this = createCenter east;
    _this setFriend [west, 0];
    _this setFriend [resistance, 0];
    _this setFriend [civilian, 0];
    _center_1 = _this;

    _group_1 = createGroup _center_1;

    _unit_28 = objNull;
    if (true) then
    {
      _this = _group_1 createUnit ["TK_Soldier_AMG_EP1", [16588.65, 18239.418, 0], [], 0, "CAN_COLLIDE"];
      _unit_28 = _this;
      _this setUnitAbility 1;
      _this moveInGunner _vehicle_46;
      if (true) then {_group_1 selectLeader _this;};
    };

    _unit_29 = objNull;
    if (true) then
    {
      _this = _group_1 createUnit ["TK_Soldier_AMG_EP1", [16609.225, 18245.51, -0.0002784729], [], 0, "CAN_COLLIDE"];
      _unit_29 = _this;
      _this setUnitAbility 1;
      _this moveInGunner _vehicle_45;
      if (false) then {_group_1 selectLeader _this;};
    };

    _unit_30 = objNull;
    if (true) then
    {
      _this = _group_1 createUnit ["TK_Soldier_AMG_EP1", [16591.363, 18239.387, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
      _unit_30 = _this;
      _this setUnitAbility 1;
      _this moveInGunner _vehicle_42;
      if (false) then {_group_1 selectLeader _this;};
    };

    _unit_31 = objNull;
    if (true) then
    {
      _this = _group_1 createUnit ["TK_Soldier_AMG_EP1", [16592.797, 18242.34, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
      _unit_31 = _this;
      _this setUnitAbility 1;
      _this moveInGunner _vehicle_43;
      if (false) then {_group_1 selectLeader _this;};
    };

    _unit_32 = objNull;
    if (true) then
    {
      _this = _group_1 createUnit ["TK_Soldier_AMG_EP1", [16593.992, 18246.93, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
      _unit_32 = _this;
      _this setUnitAbility 1;
      _this moveInGunner _vehicle_44;
      if (false) then {_group_1 selectLeader _this;};
    };

    _group_2 = createGroup _center_1;

    _unit_33 = objNull;
    if (true) then
    {
      _this = _group_2 createUnit ["TK_Soldier_AMG_EP1", [16513.49, 18306.402, 0.00012207031], [], 0, "CAN_COLLIDE"];
      _unit_33 = _this;
      _this setUnitAbility 1;
      _this moveInGunner _vehicle_350;
      if (true) then {_group_2 selectLeader _this;};
    };

    _unit_34 = objNull;
    if (true) then
    {
      _this = _group_2 createUnit ["TK_Soldier_AMG_EP1", [16517.346, 18304.717, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
      _unit_34 = _this;
      _this setUnitAbility 1;
      _this moveInGunner _vehicle_351;
      if (false) then {_group_2 selectLeader _this;};
    };

    _unit_35 = objNull;
    if (true) then
    {
      _this = _group_2 createUnit ["TK_Soldier_AMG_EP1", [16514.861, 18309.291, 2.6702881e-005], [], 0, "CAN_COLLIDE"];
      _unit_35 = _this;
      _this setUnitAbility 1;
      _this moveInGunner _vehicle_353;
      if (false) then {_group_2 selectLeader _this;};
    };

    _group_3 = createGroup _center_1;

    _unit_36 = objNull;
    if (true) then
    {
      _this = _group_3 createUnit ["RUS_Soldier_GL", [16532.578, 18245.006, 9.9182129e-005], [], 0, "CAN_COLLIDE"];
      _unit_36 = _this;
      _this setUnitAbility 1;
      if (true) then {_group_3 selectLeader _this;};
    };

    _unit_37 = objNull;
    if (true) then
    {
      _this = _group_3 createUnit ["RUS_Soldier_Marksman", [16532.678, 18246.924, 3.4332275e-005], [], 0, "CAN_COLLIDE"];
      _unit_37 = _this;
      _this setUnitAbility 1;
      if (false) then {_group_3 selectLeader _this;};
    };

    _unit_38 = objNull;
    if (true) then
    {
      _this = _group_3 createUnit ["RUS_Soldier_Marksman", [16533.979, 18245.875, 0], [], 0, "CAN_COLLIDE"];
      _unit_38 = _this;
      _this setUnitAbility 1;
      if (false) then {_group_3 selectLeader _this;};
    };

    _unit_39 = objNull;
    if (true) then
    {
      _this = _group_3 createUnit ["RUS_Soldier1", [16532.877, 18242.158, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
      _unit_39 = _this;
      _this setUnitAbility 0.60000002;
      if (false) then {_group_3 selectLeader _this;};
    };

    _this = _group_3 addWaypoint [[16504.223, 18264.447, 0.00011444092], 0];
    _this setWaypointSpeed "LIMITED";
    _waypoint_1 = _this;

    _this = _group_3 addWaypoint [[16434.787, 18307.906, 0.00012207031], 0];
    _this setWaypointSpeed "LIMITED";
    _waypoint_2 = _this;

    _this = _group_3 addWaypoint [[16313.497, 18403.658, -3.8146973e-005], 0];
    _waypoint_3 = _this;

    _this = _group_3 addWaypoint [[16321.326, 18468.951, 1.5258789e-005], 0];
    _waypoint_4 = _this;

    _this = _group_3 addWaypoint [[16482.309, 18340.682, -3.8146973e-006], 0];
    _waypoint_5 = _this;

    _this = _group_3 addWaypoint [[16560.543, 18270.031, 9.1552734e-005], 0];
    _waypoint_6 = _this;

    _this = _group_3 addWaypoint [[16524.594, 18250.162, -0.00011444092], 0];
    _waypoint_7 = _this;

    _this = _group_3 addWaypoint [[16517.416, 18258.029, 7.6293945e-005], 0];
    _this setWaypointType "CYCLE";
    _waypoint_8 = _this;

    _group_4 = createGroup _center_1;

    _unit_40 = objNull;
    if (true) then
    {
      _this = _group_4 createUnit ["RUS_Soldier_TL", [16511.695, 18364.086, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
      _unit_40 = _this;
      _this setUnitAbility 1;
      if (true) then {_group_4 selectLeader _this;};
    };

    _unit_41 = objNull;
    if (true) then
    {
      _this = _group_4 createUnit ["RUS_Soldier3", [16515.779, 18368.258, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
      _unit_41 = _this;
      _this setUnitAbility 1;
      if (false) then {_group_4 selectLeader _this;};
    };

    _unit_42 = objNull;
    if (true) then
    {
      _this = _group_4 createUnit ["RUS_Soldier2", [16516.924, 18369.934, 0.00011444092], [], 0, "CAN_COLLIDE"];
      _unit_42 = _this;
      _this setUnitAbility 1;
      if (false) then {_group_4 selectLeader _this;};
    };

    _this = _group_4 addWaypoint [[16528.957, 18381.355, 0], 0];
    _this setWaypointSpeed "LIMITED";
    _waypoint_9 = _this;

    _this = _group_4 addWaypoint [[16571.881, 18364.717, 0.00019836426], 0];
    _waypoint_10 = _this;

    _this = _group_4 addWaypoint [[16617.941, 18331.613, 0.00017929077], 0];
    _waypoint_11 = _this;

    _this = _group_4 addWaypoint [[16658.049, 18372.992, 7.4386597e-005], 0];
    _waypoint_12 = _this;

    _this = _group_4 addWaypoint [[16590.691, 18426.527, 7.0571899e-005], 0];
    _waypoint_13 = _this;

    _this = _group_4 addWaypoint [[16526.85, 18493.908, -8.5830688e-005], 0];
    _waypoint_14 = _this;

    _this = _group_4 addWaypoint [[16517.002, 18414.631, 0.0005531311], 0];
    _waypoint_15 = _this;

    _this = _group_4 addWaypoint [[16489.014, 18360.707, -0.00016403198], 0];
    _waypoint_16 = _this;

    _this = _group_4 addWaypoint [[16495.27, 18345.426, -3.8146973e-005], 0];
    _this setWaypointType "CYCLE";
    _waypoint_17 = _this;

    _group_5 = createGroup _center_1;

    _unit_43 = objNull;
    if (true) then
    {
      _this = _group_5 createUnit ["RUS_Soldier_TL", [16268.609, 18492.949, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
      _unit_43 = _this;
      _this setUnitAbility 1;
      if (true) then {_group_5 selectLeader _this;};
    };

    _unit_44 = objNull;
    if (true) then
    {
      _this = _group_5 createUnit ["RUS_Soldier1", [16271.443, 18495.58, 0.00010681152], [], 0, "CAN_COLLIDE"];
      _unit_44 = _this;
      _this setUnitAbility 0.60000002;
      if (false) then {_group_5 selectLeader _this;};
    };

    _unit_45 = objNull;
    if (true) then
    {
      _this = _group_5 createUnit ["RUS_Soldier_Marksman", [16273.044, 18493.674, -4.5776367e-005], [], 0, "CAN_COLLIDE"];
      _unit_45 = _this;
      _this setUnitAbility 1;
      if (false) then {_group_5 selectLeader _this;};
    };

    _this = _group_5 addWaypoint [[16258.515, 18508.52, -4.9591064e-005], 0];
    _waypoint_18 = _this;

    _this = _group_5 addWaypoint [[16206.13, 18570.27, 5.7220459e-005], 0];
    _waypoint_19 = _this;

    _this = _group_5 addWaypoint [[16093.493, 18725.219, 0.00016784668], 0];
    _waypoint_20 = _this;

    _this = _group_5 addWaypoint [[16129.782, 18732.984, -0.00011444092], 0];
    _waypoint_21 = _this;

    _this = _group_5 addWaypoint [[16214.318, 18635.65, 0.00010299683], 0];
    _waypoint_22 = _this;

    _this = _group_5 addWaypoint [[16273.743, 18537.889, 3.8146973e-006], 0];
    _waypoint_23 = _this;

    _this = _group_5 addWaypoint [[16278.828, 18498.352, -3.8146973e-005], 0];
    _waypoint_24 = _this;

    _this = _group_5 addWaypoint [[16268.86, 18484.023, 2.2888184e-005], 0];
    _this setWaypointType "CYCLE";
    _waypoint_25 = _this;

    _group_6 = createGroup _center_1;

    _unit_46 = objNull;
    if (true) then
    {
      _this = _group_6 createUnit ["RUS_Soldier_TL", [16518.125, 18806.186, -0.00012207031], [], 0, "CAN_COLLIDE"];
      _unit_46 = _this;
      _this setUnitAbility 0.98302108;
      if (true) then {_group_6 selectLeader _this;};
    };

    _unit_47 = objNull;
    if (true) then
    {
      _this = _group_6 createUnit ["RUS_Soldier3", [16513.559, 18805.076, -3.6239624e-005], [], 0, "CAN_COLLIDE"];
      _unit_47 = _this;
      _this setUnitAbility 0.94798845;
      if (false) then {_group_6 selectLeader _this;};
    };

    _this = _group_6 addWaypoint [[16525.18, 18781.416, -5.531311e-005], 0];
    _this setWaypointSpeed "LIMITED";
    _waypoint_40 = _this;

    _this = _group_6 addWaypoint [[16524.125, 18711.527, -5.7220459e-005], 0];
    _waypoint_41 = _this;

    _this = _group_6 addWaypoint [[16532.264, 18642.945, 4.5776367e-005], 0];
    _waypoint_42 = _this;

    _this = _group_6 addWaypoint [[16586.52, 18589.725, -7.6293945e-006], 0];
    _waypoint_43 = _this;

    _this = _group_6 addWaypoint [[16661.395, 18518.426, -1.9073486e-006], 0];
    _waypoint_44 = _this;

    _this = _group_6 addWaypoint [[16695.01, 18419.684, -3.8146973e-006], 0];
    _waypoint_45 = _this;

    _this = _group_6 addWaypoint [[16742.17, 18360.086, 1.5258789e-005], 0];
    _waypoint_46 = _this;

    _this = _group_6 addWaypoint [[16679.564, 18441.455, 9.5367432e-005], 0];
    _waypoint_47 = _this;

    _this = _group_6 addWaypoint [[16650.178, 18536.771, -0.00013160706], 0];
    _waypoint_48 = _this;

    _this = _group_6 addWaypoint [[16535.689, 18636.373, 0.00010681152], 0];
    _waypoint_49 = _this;

    _this = _group_6 addWaypoint [[16523.664, 18800.295, -6.1035156e-005], 0];
    _waypoint_50 = _this;

    _this = _group_6 addWaypoint [[16510.484, 18801.877, -7.6293945e-006], 0];
    _this setWaypointType "CYCLE";
    _waypoint_51 = _this;

    _vehicle_382 = objNull;
    if (true) then
    {
      _this = createVehicle ["HMMWV_M1151_M2_CZ_DES_EP1_DZ", [16647.555, 18271.887, -0.00018310547], [], 0, "CAN_COLLIDE"];
      dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_this];
      _vehicle_382 = _this;
      _this setDir 62.353951;
      _this setPos [16647.555, 18271.887, -0.00018310547];
       _this setVariable ["MalSar",true];
    };

    _vehicle_383 = objNull;
    if (true) then
    {
      _this = createVehicle ["BAF_Jackal2_L2A1_D", [16736.609, 18395.014, 8.9645386e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_383 = _this;
      _this setDir 136.16997;
      _this setPos [16736.609, 18395.014, 8.9645386e-005];
       _this setVariable ["MalSar",true];
    };

    _group_7 = createGroup _center_1;

    _unit_49 = objNull;
    if (true) then
    {
      _this = _group_7 createUnit ["TK_Special_Forces_TL_EP1", [16653.943, 18279.646, 0.0004196167], [], 0, "CAN_COLLIDE"];
      _unit_49 = _this;
      _this setUnitAbility 1;
      _this moveInDriver _vehicle_382;
      if (true) then {_group_7 selectLeader _this;};
    };

    _unit_50 = objNull;
    if (true) then
    {
      _this = _group_7 createUnit ["RUS_Soldier1", [16649.928, 18282.438, 0.00026702881], [], 0, "CAN_COLLIDE"];
      _unit_50 = _this;
      _this setUnitAbility 0.60000002;
      _this moveInGunner _vehicle_382;
      if (false) then {_group_7 selectLeader _this;};
    };

    _this = _group_7 addWaypoint [[16681.822, 18303.82, 0.00018692017], 0];
    _waypoint_53 = _this;

    _this = _group_7 addWaypoint [[16777.215, 18382.992, -7.6293945e-006], 0];
    _waypoint_54 = _this;

    _this = _group_7 addWaypoint [[16842.25, 18482.045, 0.0001411438], 0];
    _waypoint_55 = _this;

    _this = _group_7 addWaypoint [[16914.855, 18416.992, 3.8146973e-006], 0];
    _waypoint_56 = _this;

    _this = _group_7 addWaypoint [[17039.055, 18382.602, -1.1444092e-005], 0];
    _waypoint_57 = _this;

    _this = _group_7 addWaypoint [[16846.643, 18437.205, 0.0004196167], 0];
    _waypoint_58 = _this;

    _this = _group_7 addWaypoint [[16765.98, 18248.797, 0.00032806396], 0];
    _waypoint_59 = _this;

    _this = _group_7 addWaypoint [[16703.076, 18125.861, 2.2888184e-005], 0];
    _waypoint_60 = _this;

    _this = _group_7 addWaypoint [[16670.082, 18249.936, 7.2479248e-005], 0];
    _waypoint_61 = _this;

    _this = _group_7 addWaypoint [[16680.572, 18293.764, 8.392334e-005], 0];
    _this setWaypointType "CYCLE";
    _waypoint_62 = _this;

    _group_8 = createGroup _center_1;

    _unit_52 = objNull;
    if (true) then
    {
      _this = _group_8 createUnit ["RUS_Soldier_TL", [16743.465, 18416.451, -0.00031280518], [], 0, "CAN_COLLIDE"];
      _unit_52 = _this;
      _this setUnitAbility 0.93397564;
      _this moveInDriver _vehicle_383;
      if (true) then {_group_8 selectLeader _this;};
    };

    _unit_53 = objNull;
    if (true) then
    {
      _this = _group_8 createUnit ["RUS_Soldier3", [16740.256, 18413.379, -0.00023460388], [], 0, "CAN_COLLIDE"];
      _unit_53 = _this;
      _this setUnitAbility 0.92463368;
      _this moveInGunner _vehicle_383;
      if (false) then {_group_8 selectLeader _this;};
    };

    _this = _group_8 addWaypoint [[16722.746, 18239.834, 0.0001335144], 0];
    _waypoint_63 = _this;

    _this = _group_8 addWaypoint [[16621, 18086.678, 8.392334e-005], 0];
    _waypoint_64 = _this;

    _this = _group_8 addWaypoint [[16516.996, 18141.174, 0.00018692017], 0];
    _waypoint_65 = _this;

    _this = _group_8 addWaypoint [[16398.799, 18262.414, 0.00012969971], 0];
    _waypoint_66 = _this;

    _this = _group_8 addWaypoint [[16222.942, 18405.822, 9.1552734e-005], 0];
    _waypoint_67 = _this;

    _this = _group_8 addWaypoint [[16243.373, 18511.301, -1.1444092e-005], 0];
    _waypoint_68 = _this;

    _this = _group_8 addWaypoint [[16308.082, 18482.861, -2.6702881e-005], 0];
    _waypoint_69 = _this;

    _this = _group_8 addWaypoint [[16430.172, 18385.189, 7.6293945e-006], 0];
    _waypoint_70 = _this;

    _this = _group_8 addWaypoint [[16586.729, 18251.119, -2.2888184e-005], 0];
    _waypoint_71 = _this;

    _this = _group_8 addWaypoint [[16435.578, 18381.373, 3.0517578e-005], 0];
    _waypoint_72 = _this;

    _this = _group_8 addWaypoint [[16255.738, 18523.648, -1.1444092e-005], 0];
    _waypoint_73 = _this;

    _this = _group_8 addWaypoint [[16195.177, 18430.023, 4.196167e-005], 0];
    _waypoint_74 = _this;

    _this = _group_8 addWaypoint [[16315.353, 18315.754, 0.00018692017], 0];
    _waypoint_75 = _this;

    _this = _group_8 addWaypoint [[16596.313, 18069.404, 0.00029754639], 0];
    _waypoint_76 = _this;

    _this = _group_8 addWaypoint [[16698.254, 18203.945, 7.6293945e-006], 0];
    _waypoint_77 = _this;

    _this = _group_8 addWaypoint [[16698.572, 18333.926, -0.00032997131], 0];
    _waypoint_78 = _this;

    _this = _group_8 addWaypoint [[16749.629, 18378.658, -7.0571899e-005], 0];
    _this setWaypointType "CYCLE";
    _waypoint_79 = _this;

    _vehicle_384 = objNull;
    if (true) then
    {
      _this = createVehicle ["UralRefuel_INS", [16713.857, 18360.32, 4.0054321e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_384 = _this;
      _this setDir -41.121861;
      _this setPos [16713.857, 18360.32, 4.0054321e-005];
       _this setVariable ["MalSar",true];
    };

    _vehicle_385 = objNull;
    if (true) then
    {
      _this = createVehicle ["UralRefuel_TK_EP1", [16710.242, 18357.041, -5.1498413e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_385 = _this;
      _this setDir -39.461361;
      _this setPos [16710.242, 18357.041, -5.1498413e-005];
    };

    _group_9 = createGroup _center_1;

    _unit_54 = objNull;
    if (true) then
    {
      _this = _group_9 createUnit ["TK_Special_Forces_TL_EP1", [16319.598, 18527.922, -4.9591064e-005], [], 0, "CAN_COLLIDE"];
      _unit_54 = _this;
      _this setUnitAbility 0.60000002;
      if (true) then {_group_9 selectLeader _this;};
    };

    _unit_55 = objNull;
    if (true) then
    {
      _this = _group_9 createUnit ["RUS_Soldier_Marksman", [16321.928, 18527.004, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
      _unit_55 = _this;
      _this setUnitAbility 0.98769194;
      if (false) then {_group_9 selectLeader _this;};
    };

    _unit_56 = objNull;
    if (true) then
    {
      _this = _group_9 createUnit ["RUS_Soldier_Marksman", [16321.222, 18534.125, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
      _unit_56 = _this;
      _this setUnitAbility 0.60000002;
      if (false) then {_group_9 selectLeader _this;};
    };

    _this = _group_9 addWaypoint [[16330.495, 18532.42, -3.8146973e-006], 0];
    _this setWaypointSpeed "LIMITED";
    _waypoint_80 = _this;

    _this = _group_9 addWaypoint [[16398.779, 18572.648, 3.8146973e-006], 0];
    _waypoint_81 = _this;

    _this = _group_9 addWaypoint [[16518.238, 18561.184, -0.00016784668], 0];
    _waypoint_82 = _this;

    _this = _group_9 addWaypoint [[16562.125, 18478.59, 5.3405762e-005], 0];
    _waypoint_83 = _this;

    _this = _group_9 addWaypoint [[16520.943, 18367.967, 2.6702881e-005], 0];
    _waypoint_84 = _this;

    _this = _group_9 addWaypoint [[16486.426, 18338.941, -7.6293945e-006], 0];
    _waypoint_85 = _this;

    _this = _group_9 addWaypoint [[16346.089, 18453.488, 2.2888184e-005], 0];
    _waypoint_86 = _this;

    _this = _group_9 addWaypoint [[16308.882, 18510.932, 6.8664551e-005], 0];
    _waypoint_87 = _this;

    _this = _group_9 addWaypoint [[16324.363, 18520.096, 7.6293945e-006], 0];
    _this setWaypointType "CYCLE";
    _waypoint_88 = _this;

    _group_10 = createGroup _center_1;

    _unit_57 = objNull;
    if (true) then
    {
      _this = _group_10 createUnit ["RUS_Soldier3", [16858.24, 18488.902, -0.00011444092], [], 0, "CAN_COLLIDE"];
      _unit_57 = _this;
      _this setUnitAbility 1;
      if (true) then {_group_10 selectLeader _this;};
    };

    _unit_58 = objNull;
    if (true) then
    {
      _this = _group_10 createUnit ["RUS_Soldier_TL", [16860.912, 18491.822, 0.00014877319], [], 0, "CAN_COLLIDE"];
      _unit_58 = _this;
      _this setUnitAbility 0.60000002;
      if (false) then {_group_10 selectLeader _this;};
    };

    _unit_59 = objNull;
    if (true) then
    {
      _this = _group_10 createUnit ["RUS_Soldier2", [16858.295, 18489.975, -1.1444092e-005], [], 0, "CAN_COLLIDE"];
      _unit_59 = _this;
      _this setUnitAbility 0.60000002;
      if (false) then {_group_10 selectLeader _this;};
    };

    _this = _group_10 addWaypoint [[16889.807, 18455.209, -0.00019454956], 0];
    _this setWaypointSpeed "LIMITED";
    _waypoint_90 = _this;

    _this = _group_10 addWaypoint [[16844.348, 18330.088, -0.00050354004], 0];
    _waypoint_91 = _this;

    _this = _group_10 addWaypoint [[16738.033, 18231.133, -0.00010681152], 0];
    _waypoint_92 = _this;

    _this = _group_10 addWaypoint [[16676.582, 18263.994, -8.7738037e-005], 0];
    _waypoint_93 = _this;

    _this = _group_10 addWaypoint [[16730.385, 18355.232, 0.00021362305], 0];
    _waypoint_94 = _this;

    _this = _group_10 addWaypoint [[16858.891, 18483.969, 0.00038528442], 0];
    _waypoint_95 = _this;

    _this = _group_10 addWaypoint [[16874.316, 18473.904, -4.9591064e-005], 0];
    _this setWaypointType "CYCLE";
    _waypoint_96 = _this;

    _vehicle_387 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_RedWhiteBarrier", [16865.283, 18516.426, -6.8664551e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_387 = _this;
      _this setDir 132.32047;
      _this setPos [16865.283, 18516.426, -6.8664551e-005];
    };

    _vehicle_388 = objNull;
    if (true) then
    {
      _this = createVehicle ["Land_RedWhiteBarrier", [16870.803, 18512.346, -3.8146973e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_388 = _this;
      _this setDir -55.294598;
      _this setPos [16870.803, 18512.346, -3.8146973e-005];
    };

    _group_11 = createGroup _center_1;

    _unit_60 = objNull;
    if (true) then
    {
      _this = _group_11 createUnit ["RUS_Soldier_TL", [16696.082, 18097.4, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
      _unit_60 = _this;
      _this setUnitAbility 1;
      _this moveInGunner _vehicle_352;
      if (true) then {_group_11 selectLeader _this;};
    };

    _unit_61 = objNull;
    if (true) then
    {
      _this = _group_11 createUnit ["RUS_Soldier2", [16695.463, 18096.045, -0.82815099], [], 0, "CAN_COLLIDE"];
      _unit_61 = _this;
      _this setUnitAbility 0.60000002;
      if (false) then {_group_11 selectLeader _this;};
    };

    _unit_62 = objNull;
    if (true) then
    {
      _this = _group_11 createUnit ["RUS_Commander", [16708.275, 18072.447, -0.00010299683], [], 0, "CAN_COLLIDE"];
      _unit_62 = _this;
      _this setUnitAbility 0.60000002;
      if (false) then {_group_11 selectLeader _this;};
    };

    _vehicle_390 = objNull;
    if (true) then
    {
      _this = createVehicle ["M2A2_EP1", [16683.219, 18327.473, -7.0571899e-005], [], 0, "CAN_COLLIDE"];
      dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_this];
      _vehicle_390 = _this;
      _this setDir 143.51169;
      _this setPos [16683.219, 18327.473, -7.0571899e-005];
    };

    _vehicle_392 = objNull;
    if (true) then
    {
      _this = createVehicle ["BAF_Jackal2_L2A1_W", [16703.004, 18342.514, -4.0054321e-005], [], 0, "CAN_COLLIDE"];
      dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_this];
      _vehicle_392 = _this;
      _this setDir 143.30554;
      _this setPos [16703.004, 18342.514, -4.0054321e-005];
    };

    _group_12 = createGroup _center_1;

    _unit_63 = objNull;
    if (true) then
    {
      _this = _group_12 createUnit ["RUS_Soldier1", [16675.895, 18320.982, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
      _unit_63 = _this;
      _this setUnitAbility 0.82654285;
      _this moveInDriver _vehicle_390;
      if (true) then {_group_12 selectLeader _this;};
    };

    _unit_64 = objNull;
    if (true) then
    {
      _this = _group_12 createUnit ["RUS_Soldier_Marksman", [16673.863, 18321.908, -0.01342782], [], 0, "CAN_COLLIDE"];
      _unit_64 = _this;
      _this setUnitAbility 0.96900815;
      _this moveInGunner _vehicle_390;
      if (false) then {_group_12 selectLeader _this;};
    };

    _this = _group_12 addWaypoint [[16690.768, 18297.791, 0.00024795532], 0];
    _this setWaypointSpeed "NORMAL";
    _waypoint_97 = _this;

    _this = _group_12 addWaypoint [[16696.445, 18173.666, 1.5258789e-005], 0];
    _waypoint_98 = _this;

    _this = _group_12 addWaypoint [[16658.264, 18067.545, -0.00012588501], 0];
    _waypoint_99 = _this;

    _this = _group_12 addWaypoint [[16695.418, 18043.158, -6.4849854e-005], 0];
    _waypoint_100 = _this;

    _this = _group_12 addWaypoint [[16859.244, 17957.498, 0.00010299683], 0];
    _waypoint_101 = _this;

    _this = _group_12 addWaypoint [[16887.02, 18009.221, -0.00023269653], 0];
    _waypoint_102 = _this;

    _this = _group_12 addWaypoint [[16808.934, 18225.141, -0.00040054321], 0];
    _waypoint_103 = _this;

    _this = _group_12 addWaypoint [[16827.541, 18352.025, 0.0001411438], 0];
    _waypoint_104 = _this;

    _this = _group_12 addWaypoint [[16863.75, 18420.805, -1.1444092e-005], 0];
    _waypoint_105 = _this;

    _this = _group_12 addWaypoint [[16888.395, 18470.09, 0.00010681152], 0];
    _waypoint_106 = _this;

    _this = _group_12 addWaypoint [[16787.764, 18482.648, 9.1552734e-005], 0];
    _waypoint_107 = _this;

    _this = _group_12 addWaypoint [[16705.541, 18466.943, 7.4386597e-005], 0];
    _waypoint_108 = _this;

    _this = _group_12 addWaypoint [[16742.516, 18387.223, -0.00014305115], 0];
    _waypoint_109 = _this;

    _this = _group_12 addWaypoint [[16684.193, 18316.717, -2.6702881e-005], 0];
    _waypoint_110 = _this;

    _this = _group_12 addWaypoint [[16661.01, 18302.779, -0.00031661987], 0];
    _this setWaypointType "CYCLE";
    _waypoint_111 = _this;

    _group_13 = createGroup _center_1;

    _unit_65 = objNull;
    if (true) then
    {
      _this = _group_13 createUnit ["RUS_Soldier1", [16695.592, 18346.959, 0.00011825562], [], 0, "CAN_COLLIDE"];
      _unit_65 = _this;
      _this setUnitAbility 0.60000002;
      _this moveInGunner _vehicle_392;
      if (true) then {_group_13 selectLeader _this;};
    };

    _unit_66 = objNull;
    if (true) then
    {
      _this = _group_13 createUnit ["RUS_Soldier2", [16695.768, 18343.51, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
      _unit_66 = _this;
      _this setUnitAbility 0.60000002;
      _this moveInDriver _vehicle_392;
      if (false) then {_group_13 selectLeader _this;};
    };

    _this = _group_13 addWaypoint [[16751.846, 18350.752, 1.335144e-005], 0];
    _waypoint_121 = _this;

    _this = _group_13 addWaypoint [[16825.289, 18427.404, 0.0001335144], 0];
    _waypoint_122 = _this;

    _this = _group_13 addWaypoint [[16917.598, 18429.213, -0.00020980835], 0];
    _waypoint_123 = _this;

    _this = _group_13 addWaypoint [[17081.744, 18249.027, 8.392334e-005], 0];
    _waypoint_124 = _this;

    _this = _group_13 addWaypoint [[17213.756, 17951.779, -6.4849854e-005], 0];
    _waypoint_125 = _this;

    _this = _group_13 addWaypoint [[17235.258, 18005.309, -6.1035156e-005], 0];
    _waypoint_126 = _this;

    _this = _group_13 addWaypoint [[16895.877, 18447.58, 0.0001411438], 0];
    _waypoint_127 = _this;

    _this = _group_13 addWaypoint [[16699.156, 18330.039, 0.00019073486], 0];
    _waypoint_128 = _this;

    _this = _group_13 addWaypoint [[16694.355, 18326.326, -3.0517578e-005], 0];
    _this setWaypointType "CYCLE";
    _waypoint_129 = _this;

    _group_14 = createGroup _center_1;

    _unit_67 = objNull;
    if (true) then
    {
      _this = _group_14 createUnit ["TK_INS_Soldier_AA_EP1", [16675.842, 18093.357, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
      _unit_67 = _this;
      _this setUnitAbility 0.97601449;
      if (true) then {_group_14 selectLeader _this;};
    };

    _unit_68 = objNull;
    if (true) then
    {
      _this = _group_14 createUnit ["RU_Soldier_HAT", [16669.74, 18095.094, -0.00012969971], [], 0, "CAN_COLLIDE"];
      _unit_68 = _this;
      _this setUnitAbility 0.60000002;
      if (false) then {_group_14 selectLeader _this;};
    };

    _unit_69 = objNull;
    if (true) then
    {
      _this = _group_14 createUnit ["TK_Soldier_SniperH_EP1", [16673.096, 18097.107, 0], [], 0, "CAN_COLLIDE"];
      _unit_69 = _this;
      _this setUnitAbility 0.81953657;
      if (false) then {_group_14 selectLeader _this;};
    };

    _this = _group_14 addWaypoint [[16665.908, 18080.359, 4.5776367e-005], 0];
    _waypoint_130 = _this;

    _this = _group_14 addWaypoint [[16671.389, 17965.268, -0.00020980835], 0];
    _waypoint_131 = _this;

    _this = _group_14 addWaypoint [[16842.428, 17869.393, -8.7738037e-005], 0];
    _waypoint_132 = _this;

    _this = _group_14 addWaypoint [[16902.215, 17936.438, 2.2888184e-005], 0];
    _waypoint_133 = _this;

    _this = _group_14 addWaypoint [[16722.316, 18116.15, 1.5258789e-005], 0];
    _waypoint_134 = _this;

    _this = _group_14 addWaypoint [[16668.014, 18116.055, 3.4332275e-005], 0];
    _waypoint_135 = _this;

    _this = _group_14 addWaypoint [[16665.982, 18081.592, -0.00015258789], 0];
    _this setWaypointType "CYCLE";
    _waypoint_136 = _this;

    _group_16 = createGroup _center_1;

    _unit_70 = objNull;
    if (true) then
    {
      _this = _group_16 createUnit ["TK_Soldier_AA_EP1", [16580.014, 18280.42, -1.9073486e-005], [], 0, "CAN_COLLIDE"];
      _unit_70 = _this;
      _this setUnitAbility 0.98302084;
      if (true) then {_group_16 selectLeader _this;};
    };

    _unit_71 = objNull;
    if (true) then
    {
      _this = _group_16 createUnit ["TK_Special_Forces_TL_EP1", [16575.162, 18283.701, 2.6702881e-005], [], 0, "CAN_COLLIDE"];
      _unit_71 = _this;
      _this setUnitAbility 0.90361428;
      if (false) then {_group_16 selectLeader _this;};
    };

    _unit_72 = objNull;
    if (true) then
    {
      _this = _group_16 createUnit ["RUS_Soldier_GL", [16576.875, 18284.918, 0], [], 0, "CAN_COLLIDE"];
      _unit_72 = _this;
      _this setUnitAbility 0.95032406;
      if (false) then {_group_16 selectLeader _this;};
    };

    _this = _group_16 addWaypoint [[16538.988, 18297.156, 7.6293945e-006], 0];
    _this setWaypointSpeed "LIMITED";
    _waypoint_138 = _this;

    _this = _group_16 addWaypoint [[16416.906, 18403.18, 1.5258789e-005], 0];
    _waypoint_139 = _this;

    _this = _group_16 addWaypoint [[16307.375, 18498.852, -7.6293945e-006], 0];
    _waypoint_140 = _this;

    _this = _group_16 addWaypoint [[16411.443, 18577.324, 0.00027084351], 0];
    _waypoint_141 = _this;

    _this = _group_16 addWaypoint [[16527.166, 18555.633, 8.7738037e-005], 0];
    _waypoint_142 = _this;

    _this = _group_16 addWaypoint [[16624.598, 18426.059, 0.00013160706], 0];
    _waypoint_143 = _this;

    _this = _group_16 addWaypoint [[16702.436, 18403.83, 3.2424927e-005], 0];
    _waypoint_144 = _this;

    _this = _group_16 addWaypoint [[16741.066, 18359.855, 8.0108643e-005], 0];
    _waypoint_145 = _this;

    _this = _group_16 addWaypoint [[16614.391, 18262.953, 4.9591064e-005], 0];
    _waypoint_146 = _this;

    _this = _group_16 addWaypoint [[16573.615, 18275.742, 7.6293945e-006], 0];
    _this setWaypointType "CYCLE";
    _waypoint_147 = _this;

    _group_17 = createGroup _center_1;

    _unit_73 = objNull;
    if (true) then
    {
      _this = _group_17 createUnit ["RUS_Soldier_TL", [16261.021, 18459.1, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
      _unit_73 = _this;
      _this setUnitAbility 0.95733052;
      if (true) then {_group_17 selectLeader _this;};
    };

    _unit_74 = objNull;
    if (true) then
    {
      _this = _group_17 createUnit ["RUS_Soldier3", [16259.88, 18463.768, -5.7220459e-005], [], 0, "CAN_COLLIDE"];
      _unit_74 = _this;
      _this setUnitAbility 0.60000002;
      if (false) then {_group_17 selectLeader _this;};
    };

    _this = _group_17 addWaypoint [[16275.386, 18475.977, -7.6293945e-006], 0];
    _this setWaypointSpeed "NORMAL";
    _waypoint_148 = _this;

    _this = _group_17 addWaypoint [[16302.909, 18503.842, 5.3405762e-005], 0];
    _this setWaypointSpeed "LIMITED";
    _waypoint_149 = _this;

    _this = _group_17 addWaypoint [[16426.49, 18567.615, -0.00016784668], 0];
    _waypoint_150 = _this;

    _this = _group_17 addWaypoint [[16546.127, 18594.779, -0.00016212463], 0];
    _waypoint_151 = _this;

    _this = _group_17 addWaypoint [[16537.834, 18635.264, 3.8146973e-006], 0];
    _waypoint_152 = _this;

    _this = _group_17 addWaypoint [[16516.805, 18703.52, -9.5367432e-006], 0];
    _waypoint_153 = _this;

    _this = _group_17 addWaypoint [[16507.652, 18765.613, 0.00017547607], 0];
    _waypoint_154 = _this;

    _this = _group_17 addWaypoint [[16487.338, 18825.039, -0.00014686584], 0];
    _waypoint_155 = _this;

    _this = _group_17 addWaypoint [[16248.412, 18549.512, -9.1552734e-005], 0];
    _waypoint_156 = _this;

    _this = _group_17 addWaypoint [[16271.204, 18467.756, 3.8146973e-006], 0];
    _this setWaypointType "CYCLE";
    _waypoint_157 = _this;

    _group_18 = createGroup _center_1;

    _unit_75 = objNull;
    if (true) then
    {
      _this = _group_18 createUnit ["RUS_Soldier_TL", [16499.16, 18814.639, 5.1498413e-005], [], 0, "CAN_COLLIDE"];
      _unit_75 = _this;
      _this setUnitAbility 0.90594959;
      _this moveInDriver _vehicle_346;
      if (true) then {_group_18 selectLeader _this;};
    };

    _unit_76 = objNull;
    if (true) then
    {
      _this = _group_18 createUnit ["RUS_Soldier3", [16498.324, 18818.477, 0.00019836426], [], 0, "CAN_COLLIDE"];
      _unit_76 = _this;
      _this setUnitAbility 0.60000002;
      _this moveInGunner _vehicle_346;
      if (false) then {_group_18 selectLeader _this;};
    };

    _this = _group_18 addWaypoint [[16532.338, 18803.291, -6.4849854e-005], 0];
    _waypoint_158 = _this;

    _this = _group_18 addWaypoint [[16790.107, 18827.043, 3.6239624e-005], 0];
    _waypoint_159 = _this;

    _this = _group_18 addWaypoint [[16949.797, 18854.424, -0.00015830994], 0];
    _waypoint_160 = _this;

    _this = _group_18 addWaypoint [[16997.674, 18830.596, -0.00010299683], 0];
    _waypoint_161 = _this;

    _this = _group_18 addWaypoint [[16884.898, 18571.676, -0.00032424927], 0];
    _waypoint_162 = _this;

    _this = _group_18 addWaypoint [[16920.334, 18863.146, 6.6757202e-005], 0];
    _waypoint_163 = _this;

    _this = _group_18 addWaypoint [[16681.266, 18852.68, 5.7220459e-005], 0];
    _waypoint_164 = _this;

    _this = _group_18 addWaypoint [[16512.135, 18806.193, -3.6239624e-005], 0];
    _waypoint_165 = _this;

    _this = _group_18 addWaypoint [[16509.555, 18814.117, -9.1552734e-005], 0];
    _this setWaypointType "CYCLE";
    _waypoint_166 = _this;

    _vehicle_393 = objNull;
    if (true) then
    {
      _this = createVehicle ["UralRefuel_INS", [16531.738, 18812.223, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
      _vehicle_393 = _this;
      _this setDir 85.408829;
      _this setPos [16531.738, 18812.223, 3.6239624e-005];
    };

    };
     

    red_zone.sqf";

  3. Need a little help. I am getting a dedicated server box to run Arma 2 and 3 on and I have to buy an OP for it. I dont know which one I need to get e.g. window server 2008, 2012 or 2016.. Also what version e.g. Standard,  Essentials or Foundation? 

    Thank you for any input

    Terrance

    TBsGaming

×
×
  • Create New...