Jump to content

my first static mission, need help


Recommended Posts

Hi i make my first mission. first i make object : 

if (isServer) then {

_vehicle_3 = objNull;
if (true) then
{
  _this = createVehicle ["RU_WarfareBUAVterminal", [1140.9242, 2527.5955, -2.8610229e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_3 = _this;
  _this setDir 19.009367;
  _this setPos [1140.9242, 2527.5955, -2.8610229e-006];
};

_vehicle_4 = objNull;
if (true) then
{
  _this = createVehicle ["BTR90_HQ_unfolded", [1148.3534, 2537.5293, -5.2452087e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_4 = _this;
  _this setDir 49.521225;
  _this setPos [1148.3534, 2537.5293, -5.2452087e-006];
};

_vehicle_5 = objNull;
if (true) then
{
  _this = createVehicle ["RU_WarfareBFieldhHospital", [1175.2413, 2532.1558, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_5 = _this;
  _this setDir 112.54391;
  _this setPos [1175.2413, 2532.1558, -3.8146973e-006];
};

_vehicle_6 = objNull;
if (true) then
{
  _this = createVehicle ["RU_WarfareBVehicleServicePoint", [1141.7616, 2516.4692, 1.3828278e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_6 = _this;
  _this setDir 61.574554;
  _this setPos [1141.7616, 2516.4692, 1.3828278e-005];
};

_vehicle_7 = objNull;
if (true) then
{
  _this = createVehicle ["RU_WarfareBLightFactory", [1152.9174, 2499.0522, 3.3378601e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_7 = _this;
  _this setDir -134.45648;
  _this setPos [1152.9174, 2499.0522, 3.3378601e-006];
};

_vehicle_9 = objNull;
if (true) then
{
  _this = createVehicle ["RU_WarfareBContructionSite1", [1180.9768, 2527.0144, -3.3378601e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_9 = _this;
  _this setDir 45.106716;
  _this setPos [1180.9768, 2527.0144, -3.3378601e-006];
};

_vehicle_10 = objNull;
if (true) then
{
  _this = createVehicle ["USMC_WarfareBContructionSite1", [1184.2617, 2525.4026, -2.0980835e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_10 = _this;
  _this setDir 40.023411;
  _this setPos [1184.2617, 2525.4026, -2.0980835e-005];
};

_vehicle_11 = objNull;
if (true) then
{
  _this = createVehicle ["CDF_WarfareBContructionSite", [1187.655, 2522.5811, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_11 = _this;
  _this setDir 35.707901;
  _this setPos [1187.655, 2522.5811, 1.5258789e-005];
};

_vehicle_12 = objNull;
if (true) then
{
  _this = createVehicle ["Ins_WarfareBContructionSite", [1168.8115, 2535.5857, 1.6212463e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_12 = _this;
  _this setDir 35.446182;
  _this setPos [1168.8115, 2535.5857, 1.6212463e-005];
};

_vehicle_13 = objNull;
if (true) then
{
  _this = createVehicle ["Land_fortified_nest_big", [1163.1637, 2540.0981, -0.046755899], [], 0, "CAN_COLLIDE"];
  _vehicle_13 = _this;
  _this setDir 194.57272;
  _this setPos [1163.1637, 2540.0981, -0.046755899];
};

_vehicle_18 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Misc_Cargo1Eo_EP1", [1148.8073, 2508.8076, -5.2452087e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_18 = _this;
  _this setDir 58.994881;
  _this setPos [1148.8073, 2508.8076, -5.2452087e-006];
};

_vehicle_21 = objNull;
if (true) then
{
  _this = createVehicle ["CampEast_EP1", [1167.3418, 2490.7686, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_21 = _this;
  _this setDir -144.23048;
  _this setPos [1167.3418, 2490.7686, 3.8146973e-006];
};

_vehicle_25 = objNull;
if (true) then
{
  _this = createVehicle ["CampEast_EP1", [1175.1738, 2485.3459, -6.6757202e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_25 = _this;
  _this setDir -144.23048;
  _this setPos [1175.1738, 2485.3459, -6.6757202e-006];
};

_vehicle_27 = objNull;
if (true) then
{
  _this = createVehicle ["CampEast_EP1", [1193.5358, 2517.5151, -4.7683716e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_27 = _this;
  _this setDir 52.34721;
  _this setPos [1193.5358, 2517.5151, -4.7683716e-006];
};

_vehicle_29 = objNull;
if (true) then
{
  _this = createVehicle ["CampEast_EP1", [1196.8766, 2507.3442, -1.0490417e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_29 = _this;
  _this setDir -284.18365;
  _this setPos [1196.8766, 2507.3442, -1.0490417e-005];
};

_vehicle_32 = objNull;
if (true) then
{
  _this = createVehicle ["Land_fortified_nest_big", [1180.1633, 2476.083, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_32 = _this;
  _this setDir -327.08746;
  _this setPos [1180.1633, 2476.083, -1.9073486e-006];
};

_vehicle_35 = objNull;
if (true) then
{
  _this = createVehicle ["FlagCarrierINS", [1164.2135, 2518.604, -4.7683716e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_35 = _this;
  _this setPos [1164.2135, 2518.604, -4.7683716e-006];
};

_vehicle_45 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1144.7505, 2574.0779, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_45 = _this;
  _this setDir 508.3844;
  _this setPos [1144.7505, 2574.0779, -1.9073486e-006];
};

_vehicle_46 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1147.1542, 2573.1001, -0.051214695], [], 0, "CAN_COLLIDE"];
  _vehicle_46 = _this;
  _this setDir 611.89746;
  _this setPos [1147.1542, 2573.1001, -0.051214695];
};

_vehicle_47 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1145.6179, 2571.062, -0.0066490173], [], 0, "CAN_COLLIDE"];
  _vehicle_47 = _this;
  _this setDir 360.93307;
  _this setPos [1145.6179, 2571.062, -0.0066490173];
};

_vehicle_51 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1167.6288, 2441.0178, 7.1525574e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_51 = _this;
  _this setPos [1167.6288, 2441.0178, 7.1525574e-006];
};

_vehicle_52 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1166.0281, 2443.0713, 0.0351758], [], 0, "CAN_COLLIDE"];
  _vehicle_52 = _this;
  _this setDir 103.26068;
  _this setPos [1166.0281, 2443.0713, 0.0351758];
};

_vehicle_53 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1169.3854, 2443.074, 0.011480331], [], 0, "CAN_COLLIDE"];
  _vehicle_53 = _this;
  _this setDir -100.85347;
  _this setPos [1169.3854, 2443.074, 0.011480331];
};

_vehicle_57 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1226.0667, 2477.9319, -5.2452087e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_57 = _this;
  _this setDir -60.552372;
  _this setPos [1226.0667, 2477.9319, -5.2452087e-006];
};

_vehicle_58 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1223.4108, 2477.5032, 0.02704668], [], 0, "CAN_COLLIDE"];
  _vehicle_58 = _this;
  _this setDir 42.708332;
  _this setPos [1223.4108, 2477.5032, 0.02704668];
};

_vehicle_59 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1225.1349, 2480.3213, 0.025304317], [], 0, "CAN_COLLIDE"];
  _vehicle_59 = _this;
  _this setDir -161.40593;
  _this setPos [1225.1349, 2480.3213, 0.025304317];
};

_vehicle_63 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CamoNetVar_EAST", [1160.8091, 2531.3533, -4.7683716e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_63 = _this;
  _this setPos [1160.8091, 2531.3533, -4.7683716e-006];
};
};


Next i make some AI :

[[1174.2133, 2509.1602, 1.4305115e-006],6,"hard","Random",4,"Random","RU_Soldier","Random","Bandit"] call spawn_group;
[[1182.3551, 2493.48, 1.9073486e-006],6,"hard","Random",4,"Random","RU_Soldier_TL","Random","Bandit"] call spawn_group;
[[1156.8876, 2522.3499, 1.2397766e-005],6,"hard","Random",4,"Random","RUS_Soldier1","Random","Bandit"] call spawn_group;
[[1174.3737, 2499.1636, -2.8610229e-006],6,"hard","Random",4,"Random","MVD_Soldier_GL","Random","Bandit"] call spawn_group;
[[1180.5831, 2508.9629, 4.7683716e-007],6,"hard","Random",4,"Random","RU_Soldier_Crew","Random","Bandit"] call spawn_group;
[[1207.7635, 2497.4592, 3.3378601e-006],6,"hard","Random",4,"Random","CDF_Soldier_TL","Random","Bandit"] call spawn_group;

[[[1145.5648, 2572.5664, -3.8146973e-006],[1167.8104, 2442.728, -1.3828278e-005],[1224.5549, 2478.313, 3.3378601e-006]],
"DSHKM_CDF","medium","Bandit","Bandit","Random",2,"none","Random"] call spawn_static;

[[1201.5977, 2454.1587, 3.3378601e-006],50,2,"UAZ_MG_INS","Random","Bandit","Bandit",_mission] call vehicle_patrol;

 

 crate : 

_box1 = createVehicle ["TKLaunchers_EP1",[1162.7145, 2530.0483, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
[_box1] call spawn_ammo_box;
  clearWeaponCargoGlobal _box17 ; 
  clearMagazineCargoGlobal _box17 ; 
 _box1  addWeaponCargoGlobal[""RPG7V"",1];  
 _box1  addMagazineCargoGlobal [""PG7V"", 1]; 
 _box1 addMagazineCargoGlobal [""OG7"", 1];"

 

Marker :

 

_this = createMarker ["bandithq", [1160.0741, 2519.1294]];
_this setMarkerText "Bandit HQ";
_this setMarkerType "mil_dot";
_this setMarkerColor "ColorRed";
_this setMarkerBrush "Solid";
_marker_0 = _this;

 

And now i have question, i know how add building (  to this dayz_server\init\server_functions.sqf i add this line : execVM "\z\addons\dayz_server\buildings\bandithq.sqf";

But i need help how add AI, crate and marker to map. Can someone help me ?

 

 

Link to comment
Share on other sites

mmm cant understand you as well :D you can use one single file for all this if mission is persistent.. if not maybe and more easy way is create an event.

for example a persistent mission

  Reveal hidden contents

 

here you have another example of persistent missions (persistent means start with the server and die when server restart and start again)

this have, buildings, vehicles, Ai, scuads, crates....

  Reveal hidden contents

and the marker you can make a new sqf with the marker and call it trough init.sqf

 

but if u wanna something like WAI missions use his example to create a new.

  Reveal hidden contents

 

Link to comment
Share on other sites

you can add more AI if you want, example

  Reveal hidden contents

about hero and bandits really dont know,, all this AI are bandits i guess cuz side east is opfor   and blufor (players) are enemys of opfor. 

Link to comment
Share on other sites

you can crate waypoints in arma2 editor for each group of units

see here. script create two pilots and one jet...  and by waypoints say to pilots get in the jet and fly to specific coords

  Reveal hidden contents

 

Link to comment
Share on other sites

Now i have all in  one SQF, all work good, but no AI 

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

_group_1 = createGroup _center_1;

_group_2 = createGroup _center_1;

_unit_1 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["TK_Commander_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_1 = _this;
  _this setUnitAbility 0.60000002;
  if (true) then {_group_1 selectLeader _this;};
};

_unit_2 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["TK_Commander_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_2 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

_unit_3 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["TK_Commander_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_3 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

_unit_4 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["Ins_Commander", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_4 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

_unit_6 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["TK_Commander_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_6 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

_unit_7 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["TK_Commander_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_7 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

_unit_8 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["TK_Commander_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_8 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

_unit_9 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["TK_Commander_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_9 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

_unit_10 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["TK_Commander_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_10 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

_unit_11 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["TK_Commander_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_11 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

_unit_12 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["TK_Commander_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_12 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_1 selectLeader _this;};
};

_unit_13 = objNull;
if (true) then
{
  _this = _group_2 createUnit ["RU_Soldier_TL", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_13 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_2 selectLeader _this;};
};

_unit_14 = objNull;
if (true) then
{
  _this = _group_2 createUnit ["RU_Soldier_TL", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_14 = _this;
  _this setUnitAbility 0.60000002;
  if (true) then {_group_2 selectLeader _this;};
};

_unit_15 = objNull;
if (true) then
{
  _this = _group_2 createUnit ["RU_Soldier_TL", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_15 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_2 selectLeader _this;};
};

_unit_16 = objNull;
if (true) then
{
  _this = _group_2 createUnit ["TK_Soldier_SL_EP1", [1192.0481,6.0667281,2450.366], [], 0, "CAN_COLLIDE"];
  _unit_16 = _this;
  _this setUnitAbility 0.60000002;
  if (false) then {_group_2 selectLeader _this;};
};


_vehicle_3 = objNull;
if (true) then
{
  _this = createVehicle ["RU_WarfareBUAVterminal", [1140.9242, 2527.5955, -2.8610229e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_3 = _this;
  _this setDir 19.009367;
  _this setPos [1140.9242, 2527.5955, -2.8610229e-006];
};

_vehicle_4 = objNull;
if (true) then
{
  _this = createVehicle ["BTR90_HQ_unfolded", [1148.3534, 2537.5293, -5.2452087e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_4 = _this;
  _this setDir 49.521225;
  _this setPos [1148.3534, 2537.5293, -5.2452087e-006];
};

_vehicle_5 = objNull;
if (true) then
{
  _this = createVehicle ["RU_WarfareBFieldhHospital", [1175.2413, 2532.1558, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_5 = _this;
  _this setDir 112.54391;
  _this setPos [1175.2413, 2532.1558, -3.8146973e-006];
};

_vehicle_6 = objNull;
if (true) then
{
  _this = createVehicle ["RU_WarfareBVehicleServicePoint", [1141.7616, 2516.4692, 1.3828278e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_6 = _this;
  _this setDir 61.574554;
  _this setPos [1141.7616, 2516.4692, 1.3828278e-005];
};

_vehicle_7 = objNull;
if (true) then
{
  _this = createVehicle ["RU_WarfareBLightFactory", [1152.9174, 2499.0522, 3.3378601e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_7 = _this;
  _this setDir -134.45648;
  _this setPos [1152.9174, 2499.0522, 3.3378601e-006];
};

_vehicle_9 = objNull;
if (true) then
{
  _this = createVehicle ["RU_WarfareBContructionSite1", [1180.9768, 2527.0144, -3.3378601e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_9 = _this;
  _this setDir 45.106716;
  _this setPos [1180.9768, 2527.0144, -3.3378601e-006];
};

_vehicle_10 = objNull;
if (true) then
{
  _this = createVehicle ["USMC_WarfareBContructionSite1", [1184.2617, 2525.4026, -2.0980835e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_10 = _this;
  _this setDir 40.023411;
  _this setPos [1184.2617, 2525.4026, -2.0980835e-005];
};

_vehicle_11 = objNull;
if (true) then
{
  _this = createVehicle ["CDF_WarfareBContructionSite", [1187.655, 2522.5811, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_11 = _this;
  _this setDir 35.707901;
  _this setPos [1187.655, 2522.5811, 1.5258789e-005];
};

_vehicle_12 = objNull;
if (true) then
{
  _this = createVehicle ["Ins_WarfareBContructionSite", [1168.8115, 2535.5857, 1.6212463e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_12 = _this;
  _this setDir 35.446182;
  _this setPos [1168.8115, 2535.5857, 1.6212463e-005];
};

_vehicle_13 = objNull;
if (true) then
{
  _this = createVehicle ["Land_fortified_nest_big", [1163.1637, 2540.0981, -0.046755899], [], 0, "CAN_COLLIDE"];
  _vehicle_13 = _this;
  _this setDir 194.57272;
  _this setPos [1163.1637, 2540.0981, -0.046755899];
};

_vehicle_18 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Misc_Cargo1Eo_EP1", [1148.8073, 2508.8076, -5.2452087e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_18 = _this;
  _this setDir 58.994881;
  _this setPos [1148.8073, 2508.8076, -5.2452087e-006];
};

_vehicle_21 = objNull;
if (true) then
{
  _this = createVehicle ["CampEast_EP1", [1167.3418, 2490.7686, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_21 = _this;
  _this setDir -144.23048;
  _this setPos [1167.3418, 2490.7686, 3.8146973e-006];
};

_vehicle_25 = objNull;
if (true) then
{
  _this = createVehicle ["CampEast_EP1", [1175.1738, 2485.3459, -6.6757202e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_25 = _this;
  _this setDir -144.23048;
  _this setPos [1175.1738, 2485.3459, -6.6757202e-006];
};

_vehicle_27 = objNull;
if (true) then
{
  _this = createVehicle ["CampEast_EP1", [1193.5358, 2517.5151, -4.7683716e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_27 = _this;
  _this setDir 52.34721;
  _this setPos [1193.5358, 2517.5151, -4.7683716e-006];
};

_vehicle_29 = objNull;
if (true) then
{
  _this = createVehicle ["CampEast_EP1", [1196.8766, 2507.3442, -1.0490417e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_29 = _this;
  _this setDir -284.18365;
  _this setPos [1196.8766, 2507.3442, -1.0490417e-005];
};

_vehicle_32 = objNull;
if (true) then
{
  _this = createVehicle ["Land_fortified_nest_big", [1180.1633, 2476.083, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_32 = _this;
  _this setDir -327.08746;
  _this setPos [1180.1633, 2476.083, -1.9073486e-006];
};

_vehicle_35 = objNull;
if (true) then
{
  _this = createVehicle ["FlagCarrierINS", [1164.2135, 2518.604, -4.7683716e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_35 = _this;
  _this setPos [1164.2135, 2518.604, -4.7683716e-006];
};

_vehicle_45 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1144.7505, 2574.0779, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_45 = _this;
  _this setDir 508.3844;
  _this setPos [1144.7505, 2574.0779, -1.9073486e-006];
};

_vehicle_46 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1147.1542, 2573.1001, -0.051214695], [], 0, "CAN_COLLIDE"];
  _vehicle_46 = _this;
  _this setDir 611.89746;
  _this setPos [1147.1542, 2573.1001, -0.051214695];
};

_vehicle_47 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1145.6179, 2571.062, -0.0066490173], [], 0, "CAN_COLLIDE"];
  _vehicle_47 = _this;
  _this setDir 360.93307;
  _this setPos [1145.6179, 2571.062, -0.0066490173];
};

_vehicle_51 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1167.6288, 2441.0178, 7.1525574e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_51 = _this;
  _this setPos [1167.6288, 2441.0178, 7.1525574e-006];
};

_vehicle_52 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1166.0281, 2443.0713, 0.0351758], [], 0, "CAN_COLLIDE"];
  _vehicle_52 = _this;
  _this setDir 103.26068;
  _this setPos [1166.0281, 2443.0713, 0.0351758];
};

_vehicle_53 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1169.3854, 2443.074, 0.011480331], [], 0, "CAN_COLLIDE"];
  _vehicle_53 = _this;
  _this setDir -100.85347;
  _this setPos [1169.3854, 2443.074, 0.011480331];
};

_vehicle_57 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1226.0667, 2477.9319, -5.2452087e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_57 = _this;
  _this setDir -60.552372;
  _this setPos [1226.0667, 2477.9319, -5.2452087e-006];
};

_vehicle_58 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1223.4108, 2477.5032, 0.02704668], [], 0, "CAN_COLLIDE"];
  _vehicle_58 = _this;
  _this setDir 42.708332;
  _this setPos [1223.4108, 2477.5032, 0.02704668];
};

_vehicle_59 = objNull;
if (true) then
{
  _this = createVehicle ["BagFenceRound_DZ", [1225.1349, 2480.3213, 0.025304317], [], 0, "CAN_COLLIDE"];
  _vehicle_59 = _this;
  _this setDir -161.40593;
  _this setPos [1225.1349, 2480.3213, 0.025304317];
};

_vehicle_63 = objNull;
if (true) then
{
  _this = createVehicle ["Land_CamoNetVar_EAST", [1160.8091, 2531.3533, -4.7683716e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_63 = _this;
  _this setPos [1160.8091, 2531.3533, -4.7683716e-006];
};

_vehicle_64 = objNull;
if (true) then
{
  _this = createVehicle ["DSHKM_CDF", [1145.5648, 2572.5664, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_64 = _this;
  _this setPos [1145.5648, 2572.5664, -3.8146973e-006];
};

_vehicle_65 = objNull;
if (true) then
{
  _this = createVehicle ["DSHKM_CDF", [1167.8104, 2442.728, -1.3828278e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_65 = _this;
  _this setPos [1167.8104, 2442.728, -1.3828278e-005];
};

_vehicle_66 = objNull;
if (true) then
{
  _this = createVehicle ["DSHKM_CDF", [1224.5549, 2478.313, 3.3378601e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_66 = _this;
  _this setPos [1224.5549, 2478.313, 3.3378601e-006];
};

_vehicle_67 = objNull;
if (true) then
{
  _this = createVehicle ["UAZ_MG_INS", [1201.5977, 2454.1587, 3.3378601e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_67 = _this;
  _this setPos [1201.5977, 2454.1587, 3.3378601e-006];
};


_this1 = createMarker ["bandithq", [1160.0741, 2519.1294]];
_this1 setMarkerText "Bandit HQ";
_this1 setMarkerType "mil_dot";
_this1 setMarkerColor "ColorRed";
_this1 setMarkerBrush "Solid";
_marker_0 = _this1;

_box1 = createVehicle ["TKLaunchers_EP1",[1162.7145, 2530.0483, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
[_box1] call spawn_ammo_box;
  clearWeaponCargoGlobal _box1; 
  clearMagazineCargoGlobal _box1; 
 _box1 addWeaponCargoGlobal ["RPG7V",1];  
 _box1 addMagazineCargoGlobal ["PG7V", 1]; 
 _box1 addMagazineCargoGlobal ["OG7", 1];
 

Link to comment
Share on other sites

i made a quick mission for you, so you can test it and start to replace with yours

 

mission1.sqf

  Reveal hidden contents

for the markers.. create a new sqf

missionmarkers.sqf

  Reveal hidden contents

*Now put this 2 sqfs into mpmissions\instance_11.chernarus\missions\

*Go to your init.sqf at bottom paste:

//my mssions//
[] execVM "missions\missionmarkers.sqf";
[] execVM "missions\mission1.sqf";

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...