Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DBBStatic = [
- [5064.08,3727.29,0],
- [4819.39,4722.03,0],
- [4288.51,3688.88,0],
- [3313.36,3392.4,0],
- [3872.91,2935.39,0],
- [3355.03,4164.66,0],
- [3899.8,5080.12,0],
- [3115.54,4839.46,0],
- [2028.78,5189.27,0],
- [2134.16,4159.47,0],
- [2683.34,3205.14,0],
- [3907.25,6500.18,0],
- [3581.97,7398.52,0],
- [2218.54,8096.69,0],
- [2883.68,8867.95,0],
- [3497.14,8844.18,0],
- [4249.84,8530.76,0],
- [4151.01,7919.15,0],
- [4183.22,9666.54,0],
- [3479.39,10768.8,0],
- [4770.73,11932,0],
- [5598.64,11152.8,0],
- [6607.1,10069.4,0],
- [5573.93,9350.05,0],
- [7166.96,9547.29,0],
- [6129.23,8784.35,0],
- [7188.7,8494.41,0],
- [7395.01,10651.6,0],
- [8022.4,12063.4,0],
- [8701.17,11311.8,0],
- [9636.38,12606.6,0],
- [9673.15,11622.1,0],
- [8448.21,10200.8,0],
- [5154.67,9262.37,0],
- [6225.02,8798.04,0],
- [5134.48,7897.92,0],
- [5822.12,7089.07,0],
- [7951.94,8205.82,0],
- [7682.79,7238.99,0],
- [6322.9,6690.02,0],
- [6028.26,5232.27,0],
- [5005.91,5264.97,0],
- [7072.33,5358.28,0],
- [8024.24,5131.75,0],
- [6710.3,3645.9,0],
- [5511.76,2642.89,0],
- [5379.05,3978.64,0],
- [9221.6,4071.89,0],
- [11667.1,5610.36,0],
- [10162.5,5900.15,0],
- [8433.23,6398.15,0],
- [12673.6,5809.96,0],
- [11147.4,4818.11,0],
- [12309.5,6854.2,0],
- [11133.7,7918.26,0],
- [11559.1,6558.09,0],
- [10068.9,7178.21,0],
- [10736.6,8601.22,0],
- [10359.6,8586.44,0],
- [9599.64,8542.95,0],
- [9088.71,9217.57,0],
- [11617.1,9588.16,0],
- [11995.4,10151.5,0],
- [10334.6,10855.1,0],
- [10761.6,9797.54,0],
- [13622.3,11182.2,0],
- [12890.3,11223.4,0],
- [12635.7,10819.6,0]
- ];
- _coords = DBBStatic call BIS_fnc_selectRandom;
- _HQ = createCenter east;
- _unitGroup = createGroup east;
- EAST setfriend [WEST,0];
- //Create Box//
- _box1 = createVehicle ["USVehicleBox",[(_coords select 0),(_coords select 1),0],[], 0, "CAN_COLLIDE"];
- //Creates Marker
- _marker = createmarker ["Markertjuh", _coords];
- "Markertjuh" setMarkerColor "ColorRed";
- "Markertjuh" setMarkerShape "ELLIPSE";
- "Markertjuh" setMarkerBrush "Grid";
- "Markertjuh" setMarkerSize [100,100];
- //Spawns AI
- _squad1 = _unitGroup createUnit ["Bandit1_DZ",[(_coords select 0) +2,(_coords select 1) -2,0], [], 10, "PRIVATE"];
- //Makes them hostile
- [_squad1] joinSilent _unitGroup;
- //Behaviour
- _squad1 enableAI "TARGET";
- _squad1 enableAI "AUTOTARGET";
- _squad1 enableAI "MOVE";
- _squad1 enableAI "ANIM";
- _squad1 enableAI "FSM";
- _squad1 setCombatMode "RED";
- _squad1 setBehaviour "COMBAT";
- //Gives AI weapons
- _squad1 addWeapon "AK74";
- // bla bla bla
Advertisement
Add Comment
Please, Sign In to add comment