Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _vehicle_9 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Bergfrit", [1833.4358, 14572.056, -10.159177], [], 0, "CAN_COLLIDE"];
- _vehicle_9 = _this;
- _this setDir -131.1223;
- _this setPos [1833.4358, 14572.056, -10.159177];
- };
- _vehicle_10 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [1848.0436, 14578.617, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_10 = _this;
- _this setPos [1848.0436, 14578.617, -9.1552734e-005];
- };
- _vehicle_11 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [1867.2296, 14574.627, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_11 = _this;
- _this setDir 34.096603;
- _this setPos [1867.2296, 14574.627, -3.0517578e-005];
- };
- _vehicle_12 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [1879.7058, 14560.749, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_12 = _this;
- _this setDir 76.668983;
- _this setPos [1879.7058, 14560.749, -3.0517578e-005];
- };
- _vehicle_13 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Gate", [1882.3777, 14539.777, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_13 = _this;
- _this setDir 113.25529;
- _this setPos [1882.3777, 14539.777, -3.0517578e-005];
- };
- _vehicle_15 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [1868.979, 14529.168, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_15 = _this;
- _this setDir 140.52191;
- _this setPos [1868.979, 14529.168, 6.1035156e-005];
- };
- _vehicle_16 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [1852.8286, 14522.419, -0.61873305], [], 0, "CAN_COLLIDE"];
- _vehicle_16 = _this;
- _this setDir -172.51828;
- _this setPos [1852.8286, 14522.419, -0.61873305];
- };
- _vehicle_17 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [1836.1681, 14529.896, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_17 = _this;
- _this setDir -127.38792;
- _this setPos [1836.1681, 14529.896, -3.0517578e-005];
- };
- _vehicle_18 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [1826.3241, 14546.3, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_18 = _this;
- _this setDir -101.62762;
- _this setPos [1826.3241, 14546.3, -9.1552734e-005];
- };
- _vehicle_19 = objNull;
- if (true) then
- {
- _this = createVehicle ["Land_A_Castle_Wall1_20_Turn", [1825.4071, 14562.133, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_19 = _this;
- _this setDir -63.975033;
- _this setPos [1825.4071, 14562.133, -9.1552734e-005];
- };
- _vehicle_20 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1848.5686, 14561.254, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_20 = _this;
- _this setPos [1848.5686, 14561.254, -3.0517578e-005];
- };
- _vehicle_21 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1851.8132, 14559.369, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_21 = _this;
- _this setPos [1851.8132, 14559.369, 3.0517578e-005];
- };
- _vehicle_22 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1855.7216, 14557.822, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_22 = _this;
- _this setPos [1855.7216, 14557.822, -3.0517578e-005];
- };
- _vehicle_23 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1854.2354, 14555.021, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_23 = _this;
- _this setPos [1854.2354, 14555.021, 3.0517578e-005];
- };
- _vehicle_24 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1844.4019, 14554.969, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_24 = _this;
- _this setPos [1844.4019, 14554.969, 9.1552734e-005];
- };
- _vehicle_25 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1848.3602, 14552.539, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_25 = _this;
- _this setPos [1848.3602, 14552.539, 6.1035156e-005];
- };
- _vehicle_26 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1846.9845, 14558.486, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_26 = _this;
- _this setPos [1846.9845, 14558.486, 6.1035156e-005];
- };
- _vehicle_27 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1850.1957, 14555.672, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_27 = _this;
- _this setPos [1850.1957, 14555.672, 3.0517578e-005];
- };
- _vehicle_28 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1853.4386, 14551.044, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_28 = _this;
- _this setPos [1853.4386, 14551.044, 6.1035156e-005];
- };
- _vehicle_29 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1850.2931, 14548.325, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_29 = _this;
- _this setPos [1850.2931, 14548.325, 6.1035156e-005];
- };
- _vehicle_30 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1845.5345, 14547.113, 0], [], 0, "CAN_COLLIDE"];
- _vehicle_30 = _this;
- _this setPos [1845.5345, 14547.113, 0];
- };
- _vehicle_31 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1842.0387, 14552.205, 0], [], 0, "CAN_COLLIDE"];
- _vehicle_31 = _this;
- _this setPos [1842.0387, 14552.205, 0];
- };
- _vehicle_32 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1840.1934, 14557.636, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_32 = _this;
- _this setPos [1840.1934, 14557.636, -3.0517578e-005];
- };
- _vehicle_33 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1844.9763, 14564.415, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_33 = _this;
- _this setPos [1844.9763, 14564.415, 9.1552734e-005];
- };
- _vehicle_34 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1837.2292, 14551.862, -0.00018310547], [], 0, "CAN_COLLIDE"];
- _vehicle_34 = _this;
- _this setPos [1837.2292, 14551.862, -0.00018310547];
- };
- _vehicle_35 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1841.3921, 14548.144, 0], [], 0, "CAN_COLLIDE"];
- _vehicle_35 = _this;
- _this setPos [1841.3921, 14548.144, 0];
- };
- _vehicle_36 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1836.4026, 14546.745, 0], [], 0, "CAN_COLLIDE"];
- _vehicle_36 = _this;
- _this setPos [1836.4026, 14546.745, 0];
- };
- _vehicle_37 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1841.595, 14544.151, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_37 = _this;
- _this setPos [1841.595, 14544.151, 3.0517578e-005];
- };
- _vehicle_38 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1846.5146, 14542.661, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_38 = _this;
- _this setPos [1846.5146, 14542.661, 3.0517578e-005];
- };
- _vehicle_39 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1852.1639, 14544.738, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_39 = _this;
- _this setPos [1852.1639, 14544.738, -9.1552734e-005];
- };
- _vehicle_40 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1856.9099, 14548.665, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_40 = _this;
- _this setPos [1856.9099, 14548.665, -6.1035156e-005];
- };
- _vehicle_41 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1858.7764, 14554.302, 0], [], 0, "CAN_COLLIDE"];
- _vehicle_41 = _this;
- _this setPos [1858.7764, 14554.302, 0];
- };
- _vehicle_42 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1861.4005, 14558.62, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_42 = _this;
- _this setPos [1861.4005, 14558.62, 6.1035156e-005];
- };
- _vehicle_43 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1857.9651, 14562.237, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_43 = _this;
- _this setPos [1857.9651, 14562.237, 3.0517578e-005];
- };
- _vehicle_44 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1865.3434, 14554.677, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_44 = _this;
- _this setPos [1865.3434, 14554.677, 9.1552734e-005];
- };
- _vehicle_45 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1862.8398, 14550.413, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_45 = _this;
- _this setPos [1862.8398, 14550.413, -9.1552734e-005];
- };
- _vehicle_46 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1859.488, 14545.19, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_46 = _this;
- _this setPos [1859.488, 14545.19, -6.1035156e-005];
- };
- _vehicle_47 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1855.2102, 14541.52, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_47 = _this;
- _this setPos [1855.2102, 14541.52, 6.1035156e-005];
- };
- _vehicle_48 = objNull;
- if (true) then
- {
- _this = createVehicle ["fiberplant", [1851.3163, 14540.004, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_48 = _this;
- _this setPos [1851.3163, 14540.004, 9.1552734e-005];
- };
- _vehicle_51 = objNull;
- if (true) then
- {
- _this = createVehicle ["MASH", [1857.1199, 14527.835, 9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_51 = _this;
- _this setPos [1857.1199, 14527.835, 9.1552734e-005];
- };
- _vehicle_52 = objNull;
- if (true) then
- {
- _this = createVehicle ["MASH", [1849.9299, 14528.194, 0.00015258789], [], 0, "CAN_COLLIDE"];
- _vehicle_52 = _this;
- _this setPos [1849.9299, 14528.194, 0.00015258789];
- };
- _vehicle_53 = objNull;
- if (true) then
- {
- _this = createVehicle ["MASH", [1842.8369, 14529.003, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_53 = _this;
- _this setDir 1.4115604;
- _this setPos [1842.8369, 14529.003, 3.0517578e-005];
- };
- _vehicle_54 = objNull;
- if (true) then
- {
- _this = createVehicle ["UH1Wreck", [1866.2976, 14533.436], [], 0, "CAN_COLLIDE"];
- _vehicle_54 = _this;
- _this setPos [1866.2976, 14533.436];
- };
- _vehicle_55 = objNull;
- if (true) then
- {
- _this = createVehicle ["HMMWVWreck", [1837.8145, 14537.307, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
- _vehicle_55 = _this;
- _this setPos [1837.8145, 14537.307, -9.1552734e-005];
- };
- _vehicle_56 = objNull;
- if (true) then
- {
- _this = createVehicle ["Mi8Wreck", [1831.4304, 14547.41], [], 0, "CAN_COLLIDE"];
- _vehicle_56 = _this;
- _this setPos [1831.4304, 14547.41];
- };
- //************************************ASSIGN OBJECTID AND OBJECTUID SO THEY CAN BE FOUND AND DELETED *******************
- _plantpositions = nearestObjects[[7500,7500,0], ["fiberplant"],10000];
- {
- _uID = str(round(random 999999));
- _x setVariable ["ObjectID", _uID, true];
- _x setVariable ["ObjectUID", _uID, true];
- _x setVariable ["lastUpdate",time,true];
- }forEach _plantpositions;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement