Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
//_blueBus and _redBus
_this = createCenter civilian;
_center_2 = _this;
_grpBlue = createGroup _center_2;
_unit_2 = objNull;
if (true) then
{
_this = _grpBlue createUnit ["Policeman", [1616.7765, 2233.0764, 1.4383841e-007], [], 0, "CAN_COLLIDE"];
_unit_2 = _this;
_this setUnitAbility 0.60000002;
if (true) then {_grpBlue selectLeader _this;};
_this setVariable ["Sarge",1,true];
_this allowDammage false;
_this addEventHandler ["HandleDamage", {false}];
};
_unit_3 = objNull;
if (true) then
{
_this = _grpBlue createUnit ["Policeman", [1623.1814, 2232.6938, -5.2183168e-008], [], 0, "CAN_COLLIDE"];
_unit_3 = _this;
_this setUnitAbility 0.60000002;
if (false) then {_grpBlue selectLeader _this;};
_this setVariable ["Sarge",1,true];
_this allowDammage false;
_this addEventHandler ["HandleDamage", {false}];
};
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["Ikarus", [1599.1127, 2242.4331, -2.3079338e-008], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir -71.269524;
_this setPos [1599.1127, 2242.4331, -2.3079338e-008];
_this setVariable ["Sarge",1,true];
_this allowDammage false;
_this addEventHandler ["HandleDamage", {false}];
_this setVariable ["ObjectID", [_dir,getPos _this] call dayz_objectUID2, true];
PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_this];
[_this,"Ikarus"] spawn server_updateObject;
_blueBus = _this;
};
_this = _grpBlue addWaypoint [[1594.5338, 2244.3137, 2.1127926e-007], 0];
_this setWaypointType "GETIN NEAREST";
_this setWaypointCombatMode "RED";
_this setWaypointSpeed "FULL";
_this setWaypointBehaviour "CARELESS";
_waypoint_0 = _this;
_this = _grpBlue addWaypoint [[732.96844, 1893.0231, -1.8595892e-007], 0];
_waypoint_1 = _this;
_this = _grpBlue addWaypoint [[678.28821, 1865.5563, 2.2065069e-007], 0];
_this setWaypointBehaviour "COMBAT";
_waypoint_2 = _this;
_this = _grpBlue addWaypoint [[650.99005, 1850.6868, 1.8210267e-007], 0];
_waypoint_3 = _this;
_this = _grpBlue addWaypoint [[690.61407, 1848.1786, 4.1011663e-007], 0];
_waypoint_4 = _this;
_this = _grpBlue addWaypoint [[790.48114, 1920.0989, 1.1124575e-007], 0];
_this setWaypointBehaviour "CARELESS";
_waypoint_5 = _this;
_this = _grpBlue addWaypoint [[1830.3545, 2214.7742, 1.029548e-007], 0];
_this setWaypointBehaviour "CARELESS";
_this setWaypointTimeout [10, 10, 10];
_waypoint_6 = _this;
_this = _grpBlue addWaypoint [[4517.0571, 2445.3359, 2.1862797e-007], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_7 = _this;
_this = _grpBlue addWaypoint [[6348.7422, 2429.8325, 7.1187969e-008], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_8 = _this;
_this = _grpBlue addWaypoint [[6566.2964, 2864.8196, 5.2154064e-008], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_9 = _this;
_this = _grpBlue addWaypoint [[9966.5996, 2052.2791, -5.9138983e-008], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_10 = _this;
_this = _grpBlue addWaypoint [[10408.438, 2246.1348, 1.0544318e-007], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_11 = _this;
_this = _grpBlue addWaypoint [[10800.207, 2567.8381, 0.057557106], 0];
_waypoint_12 = _this;
_this = _grpBlue addWaypoint [[12009.484, 3479.1714, 7.6106517e-008], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_13 = _this;
_this = _grpBlue addWaypoint [[13386.558, 5383.3008, 0], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_14 = _this;
_this = _grpBlue addWaypoint [[13461.66, 6236.2959, -1.139706e-007], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_15 = _this;
_this = _grpBlue addWaypoint [[13282.458, 6982.1265, 1.7404091e-007], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_16 = _this;
_this = _grpBlue addWaypoint [[12989.876, 8336.4756, 0], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_17 = _this;
_this = _grpBlue addWaypoint [[13100.437, 10335.808, 0], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_18 = _this;
_this = _grpBlue addWaypoint [[13072.771, 10375.53, 0], 0];
_this setWaypointBehaviour "COMBAT";
_waypoint_19 = _this;
_this = _grpBlue addWaypoint [[12998.04, 10327.238, 0], 0];
_this setWaypointBehaviour "CARELESS";
_waypoint_20 = _this;
_this = _grpBlue addWaypoint [[12832.215, 9958.292, 0], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_21 = _this;
_this = _grpBlue addWaypoint [[12308.234, 9552.7021, -2.1222513e-007], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_22 = _this;
_this = _grpBlue addWaypoint [[12151.067, 9043.1436, -1.3522804e-006], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_23 = _this;
_this = _grpBlue addWaypoint [[12823.489, 8593.7803, -2.8405339e-008], 0];
_waypoint_24 = _this;
_this = _grpBlue addWaypoint [[12916.135, 8521.3438, -2.2631139e-007], 0];
_this setWaypointBehaviour "COMBAT";
_waypoint_25 = _this;
_this = _grpBlue addWaypoint [[13277.846, 6979.3608, -1.8641003e-007], 0];
_this setWaypointBehaviour "CARELESS";
_this setWaypointTimeout [10, 10, 10];
_waypoint_26 = _this;
_this = _grpBlue addWaypoint [[13455.297, 6232.3125, 1.2273085e-007], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_27 = _this;
_this = _grpBlue addWaypoint [[13383.92, 5478.1475, -7.1246177e-008], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_28 = _this;
_this = _grpBlue addWaypoint [[12045.63, 3488.9026, -1.3016688e-007], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_29 = _this;
_this = _grpBlue addWaypoint [[10888.996, 2773.6587, 1.6269041e-007], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_30 = _this;
_this = _grpBlue addWaypoint [[10332.829, 2159.7454], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_31 = _this;
_this = _grpBlue addWaypoint [[6424.7744, 2705.928, 0], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_32 = _this;
_this = _grpBlue addWaypoint [[4570.7388, 2434.6482, -3.9755832e-008], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_33 = _this;
_this = _grpBlue addWaypoint [[3581.5159, 2454.2285, -1.2641249e-007], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_34 = _this;
_this = _grpBlue addWaypoint [[1853.936, 2230.4497, 1.0876101e-007], 0];
_this setWaypointTimeout [10, 10, 10];
_waypoint_35 = _this;
_this = _grpBlue addWaypoint [[1657.6793, 2222.6558, -1.6621925e-007], 0];
_waypoint_36 = _this;
_this = _grpBlue addWaypoint [[1633.3134, 2230.5825, 9.9928002e-008], 0];
_this setWaypointType "CYCLE";
_waypoint_37 = _this;
while {true} do {
hint format["Target is side: %1",side cursortarget];
sleep 1;
};
I am on a day vacation and can't download to my cellphone.
For future note post the files to pastebin.com then we can just click and view it
_center_0= createCenter resistance;
_center_0 setFriend [east, 0];
_center_0 setFriend [west, 0];
_group_1 = createGroup _center_0;
//----------------------------------CREATE GROUP LEADER------------------------------------------------------
_aiLeader = _group_1 createUnit ["gsc_eco_stalker_head_duty", [22121.715, 19438.953, 0], [], 0, "CAN_COLLIDE"];
removeAllWeapons _aiLeader;
_aiLeader addWeapon "M16A4";
for "_counter" from 0 to 4 do//LOOP THROUGH 5 TIMES
{_aiLeader addMagazine "30Rnd_556x45_Stanag"; };
_aiLeader addMagazine "HandGrenade_West";
_aiLeader addWeapon "Colt1911";
for "_counter" from 0 to 4 do
{_aiLeader addMagazine "7Rnd_45ACP_1911";};
_aiLeader addWeapon "NVGoggles";
_aiLeader addWeapon "ItemGPS";
_aiLeader addbackpack "us_backpack_ep1";
(Unitbackpack _aiLeader) addmagazinecargo ["30Rnd_556x45_Stanag",5];
_aiLeader setUnitAbility 0.60000002;
_group_1 selectLeader _aiLeader;
//--------------------------------CREATE GROUP UNITS------------------------------------------------------------
for "_groupsize" from 0 to 4 do
{
_aiUnit = _group_1 createUnit ["gsc_eco_stalker_head_duty", [22121.715, 19438.953, 0], [], 0, "CAN_COLLIDE"];
removeAllWeapons _aiUnit;
_aiUnit addWeapon "M16A4";
for "_counter" from 0 to 4 do
{_aiUnit addMagazine "30Rnd_556x45_Stanag"; };
_aiUnit addMagazine "HandGrenade_West";
_aiUnit addWeapon "Colt1911";
for "_counter" from 0 to 4 do
{_aiUnit addMagazine "7Rnd_45ACP_1911";};
_aiUnit addWeapon "NVGoggles";
_aiUnit addWeapon "ItemGPS";
_aiUnit addbackpack "us_backpack_ep1";
(Unitbackpack _aiUnit) addmagazinecargo ["30Rnd_556x45_Stanag",5];
_aiUnit setUnitAbility 0.60000002;
};
//-------------------------------------- GROUP WAYPOINTS------------------------------------------------------
_this = _group_1 addWaypoint [[22186.225, 19310.393], 0];
_this setWaypointCombatMode "RED";
_this setWaypointFormation "COLUMN";
_this setWaypointSpeed "LIMITED";
_this setWaypointBehaviour "AWARE";
_waypoint_0 = _this;
_this = _group_1 addWaypoint [[22320.545, 19409.922, 0], 0];
_this setWaypointCombatMode "RED";
_this setWaypointFormation "COLUMN";
_this setWaypointSpeed "LIMITED";
_this setWaypointBehaviour "AWARE";
_waypoint_1 = _this;
_this = _group_1 addWaypoint [[22255.344, 19476.506, 0], 0];
_this setWaypointCombatMode "RED";
_this setWaypointFormation "COLUMN";
_this setWaypointSpeed "LIMITED";
_this setWaypointBehaviour "AWARE";
_waypoint_2 = _this;
_this = _group_1 addWaypoint [[22130.701, 19445.404, 0], 0];
_this setWaypointType "CYCLE";
_this setWaypointCombatMode "RED";
_this setWaypointFormation "COLUMN";
_this setWaypointSpeed "LIMITED";
_this setWaypointBehaviour "AWARE";
_waypoint_3 = _this;