charlis 2 Posted May 2, 2016 Hi guys, I wanna spawn custom compositions from Eden editor at mission sqf. I did something similar in A2 as treated in these topics: https://forums.bistudio.com/topic/190123-calling-custom-compositions/?p=3018391 and https://forums.bistudio.com/topic/189457-custom-compositions-with-units-characters-waypoints-markers-triggers-and-objects/?hl=composition In A2 each composition was saved in a sqf with syntax like his (just an exemple): m1.sqf - that as far as I remember came from bis 3deditor and slightly edited. This worked perfectly in A2. _this = createCenter east;_this setFriend [west, 0];_this setFriend [resistance, 0];_center_4 = _this; _group_3 = createGroup _center_4; _unit_35 = objNull;if (true) then{ _this = _group_3 createUnit ["TK_INS_Warlord_EP1", [4309.7612, 4168.7441, 5.0409822], [], 0, "CAN_COLLIDE"]; _unit_35 = _this; _this setDir 311.78046; _this setVehicleVarName "Warlord"; Warlord = _this; _this setVehicleInit "Warlord disableAI ""MOVE""; Warlord setUnitPos ""UP"";"; _this setUnitAbility 0.60000002; if (true) then {_group_3 selectLeader _this;};}; _vehicle_90 = objNull;if (true) then{ _this = createVehicle ["WoodChair", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_90 = _this; _this setDir 1.1523293; _this setPos [4307.6606, 4185.3335, 3.355396];}; _vehicle_101 = objNull;if (true) then{ _this = createVehicle ["Land_Rack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_101 = _this; _this setDir -0.32158253; _this setPos [4302.5483, 4174.4341, 5.2530909];}; _vehicle_102 = objNull;if (true) then{ _this = createVehicle ["Land_Sack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_102 = _this; _this setDir 173.0069; _this setPos [4317.0337, 4215.9551, 2.2888184e-005];}; _vehicle_109 = objNull;if (true) then{ _this = createVehicle ["Land_Urn_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_109 = _this; _this setDir 274.14526; _this setPos [4316.3569, 4215.8623, -1.9073486e-006];}; _vehicle_116 = objNull;if (true) then{ _this = createVehicle ["Land_Wicker_basket_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_116 = _this; _this setDir 272.67151; _this setPos [4317.8394, 4214.874, 0.87586904];}; _vehicle_117 = objNull;if (true) then{ _this = createVehicle ["Land_Bench_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_117 = _this; _this setDir 807.40918; _this setPos [4325.666, 4180.6694, 5.7220459e-006];}; _vehicle_118 = objNull;if (true) then{ _this = createVehicle ["Land_Cabinet_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_118 = _this; _this setDir 266.69876; _this setPos [4309.7393, 4167.1929, 4.3707666];}; _vehicle_173 = objNull;if (true) then{ _this = createVehicle ["Land_bags_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_173 = _this; _this setDir 210.09276; _this setPos [4305.311, 4188.043, 0.021114916];}; _vehicle_183 = objNull;if (true) then{ _this = createVehicle ["Land_Ind_BoardsPack2", [0,0,0], [], 0, "FLY"]; _vehicle_183 = _this; _this setDir 870.55121; _this setPos [4310.1738, 4177.312, 7.1593928];}; _vehicle_185 = objNull;if (true) then{ _this = createVehicle ["Land_Campfire_burning", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_185 = _this; _this setDir 435.93896; _this setPos [4325.5923, 4182.9146, -2.2888184e-005];}; _vehicle_186 = objNull;if (true) then{ _this = createVehicle ["Land_covering_hut_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_186 = _this; _this setDir 355.07324; _this setPos [4319.9009, 4202.6509, -0.57429636];}; _vehicle_187 = objNull;if (true) then{ _this = createVehicle ["Land_covering_hut_big_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_187 = _this; _this setDir 180.14412; _this setPos [4316.0557, 4171.7778, -0.48109648];}; _vehicle_222 = objNull;if (true) then{ _this = createVehicle ["Misc_palletsfoiled", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_222 = _this; _this setDir 359.36362; _this setPos [4317.8901, 4211.7949, 6.2293196];}; _vehicle_224 = objNull;if (true) then{ _this = createVehicle ["Fuel_can", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_224 = _this; _this setDir 34.459938; _this setPos [4306.8784, 4187.1675, 0.016665312];}; _vehicle_225 = objNull;if (true) then{ _this = createVehicle ["Land_Misc_Garb_Heap_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_225 = _this; _this setDir 273.15134; _this setPos [4343.1816, 4166.3682, 6.6757202e-006];}; _vehicle_226 = objNull;if (true) then{ _this = createVehicle ["Garbage_can", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_226 = _this; _this setDir 170.61987; _this setPos [4334.5859, 4194.2402, 9.5367432e-007];}; _vehicle_227 = objNull;if (true) then{ _this = createVehicle ["Garbage_container", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_227 = _this; _this setDir 51.484192; _this setPos [4341.8618, 4169.7681, 2.0027161e-005];}; _vehicle_238 = objNull;if (true) then{ _this = createVehicle ["Land_bags_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_238 = _this; _this setDir 628.30756; _this setPos [4311.6016, 4198.4878, 9.4319544];}; _vehicle_257 = objNull;if (true) then{ _this = createVehicle ["Paleta2", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_257 = _this; _this setDir 481.26477; _this setPos [4315.3477, 4206.5664, 6.2519484];}; _vehicle_262 = objNull;if (true) then{ _this = createVehicle ["Land_cages_EP1", [0,0,0], [], 0, "NONE"]; _vehicle_262 = _this; _this setDir 485.13068; _this setPos [4324.3931, 4202.1353, 0.010223712];}; _vehicle_266 = objNull;if (true) then{ _this = createVehicle ["Land_Reservoir_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_266 = _this; _this setDir 149.82486; _this setPos [4304.8213, 4211.2344, 7.2319703];}; _vehicle_271 = objNull;if (true) then{ _this = createVehicle ["Land_Crates_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_271 = _this; _this setDir 395.21143; _this setPos [4344.9785, 4202.6001, 0.022208653];}; _vehicle_277 = objNull;if (true) then{ _this = createVehicle ["Land_stand_small_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_277 = _this; _this setDir -270.7717; _this setPos [4304.2173, 4186.8154, 0.053294003];}; _vehicle_278 = objNull;if (true) then{ _this = createVehicle ["Land_stand_waterl_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_278 = _this; _this setDir 86.180389; _this setPos [4328.6187, 4182.8364, 2.8610229e-006];}; _vehicle_280 = objNull;if (true) then{ _this = createVehicle ["Land_Pneu", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_280 = _this; _this setDir -4.3890705; _this setPos [4320.2803, 4177.3452, 5.7220459e-006];}; _vehicle_283 = objNull;if (true) then{ _this = createVehicle ["Land_tires_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_283 = _this; _this setDir 405.60455; _this setPos [4320.3862, 4173.1597, -0.0016482082];}; _vehicle_291 = objNull;if (true) then{ _this = createVehicle ["Land_transport_cart_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_291 = _this; _this setDir 448.88889; _this setPos [4336.3604, 4170.2871, 9.5367432e-007];}; _vehicle_292 = objNull;if (true) then{ _this = createVehicle ["Fort_Crate_wood", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_292 = _this; _this setDir 268.9704; _this setPos [4302.8271, 4174.4551, 4.3516459];}; _vehicle_293 = objNull;if (true) then{ _this = createVehicle ["Land_transport_crates_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_293 = _this; _this setDir 406.27643; _this setPos [4304.1182, 4168.5728, 7.0915012];}; _vehicle_589 = objNull;if (true) then{ _this = createVehicle ["Land_WoodenRamp", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_589 = _this; _this setDir 0.27939877; _this setPos [4303.1704, 4201.1113, 7.3017159];}; _vehicle_592 = objNull;if (true) then{ _this = createVehicle ["Land_Misc_Well_L_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_592 = _this; _this setDir -53.784756; _this setPos [4333.8657, 4185.2539, 2.6702881e-005];}; _vehicle_601 = objNull;if (true) then{ _this = createVehicle ["LADAWreck", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_601 = _this; _this setDir -414.88315; _this setPos [4301.8037, 4166.3774, 0.051087391];}; _vehicle_607 = objNull;if (true) then{ _this = createVehicle ["datsun02Wreck", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_607 = _this; _this setDir 360.60181; _this setPos [4302.4961, 4172.2036, 0.39730194];}; _this = createMarker ["Warlord_Pos3", [4308.1016, 4173.4414, 7.225481]];_this setMarkerText "Warlord_Pos3";_this setMarkerType "Flag";_this setMarkerColor "ColorOrange";_this setMarkerBrush "Solid";_marker_21 = _this; _vehicle_687 = objNull;if (true) then{ _this = createVehicle ["GunrackTK_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_687 = _this; _this setDir 91.601837; _this setPos [4309.7769, 4176.958, 4.1990314];}; _vehicle_691 = objNull;if (true) then{ _this = createVehicle ["Land_psi_bouda", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_691 = _this; _this setDir 363.57538; _this setPos [4313.2178, 4196.5962, 0.021378193];}; _vehicle_692 = objNull;if (true) then{ _this = createVehicle ["Notice_board_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_692 = _this; _this setDir 243.12805; _this setPos [4303.9512, 4171.1255, 4.2857051];}; _vehicle_718 = objNull;if (true) then{ _this = createVehicle ["Land_Cabinet_EP1", [0,0,0], [], 0, "NONE"]; _vehicle_718 = _this; _this setDir 180.10579; _this setPos [4308.6055, 4178.439, 4.3361878];}; _vehicle_724 = objNull;if (true) then{ _this = createVehicle ["Land_Cabinet_EP1", [0,0,0], [], 0, "NONE"]; _vehicle_724 = _this; _this setDir 180.16202; _this setPos [4308.6753, 4176.979, 4.3399625];}; _vehicle_727 = objNull;if (true) then{ _this = createVehicle ["Land_Cabinet_EP1", [0,0,0], [], 0, "NONE"]; _vehicle_727 = _this; _this setDir -0.40899214; _this setPos [4305.4419, 4192.2603, 3.3327253];}; _vehicle_730 = objNull;if (true) then{ _this = createVehicle ["Desk", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_730 = _this; _this setDir -5.5221477; _this setPos [4306.4771, 4168.9214, 4.3177652];}; _vehicle_740 = objNull;if (true) then{ _this = createVehicle ["LocalBasicWeaponsBox", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_740 = _this; _this setDir -280.88831; _this setPos [4310.7246, 4178.0571, 4.0602837];}; _this = createCenter civilian;_center_5 = _this; _vehicle_745 = objNull;if (true) then{ _this = createVehicle ["Can_small", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_745 = _this; _this setDir 85.424271; _this setPos [4306.3457, 4171.8413, 5.2275457];}; _vehicle_746 = objNull;if (true) then{ _this = createVehicle ["EvMoscow", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_746 = _this; _this setDir 190.26709; _this setPos [4306.9009, 4171.8154, 5.2007093];}; _vehicle_748 = objNull;if (true) then{ _this = createVehicle ["EvMap", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_748 = _this; _this setDir -19.999319; _this setPos [4306.562, 4171.5459, 5.1991119];}; _vehicle_750 = objNull;if (true) then{ _this = createVehicle ["EvPhoto", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_750 = _this; _this setDir -129.65382; _this setPos [4306.9878, 4171.2524, 5.1851783];}; _vehicle_751 = objNull;if (true) then{ _this = createVehicle ["Explosive", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_751 = _this; _this setPos [4303.1074, 4174.1553, 5.2814879];}; _vehicle_759 = objNull;if (true) then{ _this = createVehicle ["Radio", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_759 = _this; _this setDir 10.781085; _this setPos [4308.8115, 4175.894, 5.7943597];}; _vehicle_761 = objNull;if (true) then{ _this = createVehicle ["SatPhone", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_761 = _this; _this setDir -216.69455; _this setPos [4310.6567, 4172.1479, 0.00080413755];}; _vehicle_763 = objNull;if (true) then{ _this = createVehicle ["SmallTV", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_763 = _this; _this setDir -89.637291; _this setPos [4310.0269, 4170.8535, 0.046311446];}; _vehicle_767 = objNull;if (true) then{ _this = createVehicle ["Land_Carpet_rack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_767 = _this; _this setDir 360.31107; _this setPos [4307.959, 4189.1797, -0.14646666];}; _vehicle_770 = objNull;if (true) then{ _this = createVehicle ["Land_Chair_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_770 = _this; _this setDir 395.8204; _this setPos [4306.3481, 4173.1367, 4.442584];}; _vehicle_773 = objNull;if (true) then{ _this = createVehicle ["Fort_Crate_wood", [0,0,0], [], 0, "NONE"]; _vehicle_773 = _this; _this setDir 269.85049; _this setPos [4306.4858, 4168.8608, 5.2634978];}; _vehicle_780 = objNull;if (true) then{ _this = createVehicle ["SignM_UN_Base_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_780 = _this; _this setDir -135.48076; _this setPos [4303.5654, 4167.9731, 4.8385];}; _vehicle_786 = objNull;if (true) then{ _this = createVehicle ["Fence_corrugated_plate", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_786 = _this; _this setDir 90.574341; _this setPos [4304.7817, 4184.479, 4.2307153];}; _vehicle_791 = objNull;if (true) then{ _this = createVehicle ["Land_Water_pipe_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_791 = _this; _this setPos [4303.1309, 4174.6479, 5.3140259];}; _vehicle_793 = objNull;if (true) then{ _this = createVehicle ["Land_Chair_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_793 = _this; _this setDir 482.80331; _this setPos [4310.2705, 4173.3682, 4.421051];}; _vehicle_814 = objNull;if (true) then{ _this = createVehicle ["Land_Bag_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_814 = _this; _this setDir 193.45865; _this setPos [4337.6245, 4172.7202, 1.335144e-005];}; _vehicle_815 = objNull;if (true) then{ _this = createVehicle ["Land_Urn_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_815 = _this; _this setDir 192.94949; _this setPos [4337.1016, 4173.3457, -0.003862381];}; _vehicle_834 = objNull;if (true) then{ _this = createVehicle ["Land_Barrel_water", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_834 = _this; _this setDir 271.29572; _this setPos [4314.9492, 4202.2832, 0.08201535];}; _vehicle_835 = objNull;if (true) then{ _this = createVehicle ["Land_Barrel_sand", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_835 = _this; _this setDir 137.86082; _this setPos [4336.8633, 4172.5845, 0.031627279];}; _vehicle_836 = objNull;if (true) then{ _this = createVehicle ["Land_Barrel_empty", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_836 = _this; _this setDir 271.29572; _this setPos [4315.5142, 4202.3691, 0.040484965];}; _vehicle_841 = objNull;if (true) then{ _this = createVehicle ["Barrel5", [0,0,0], [], 0, "NONE"]; _vehicle_841 = _this; _this setDir 177.1675; _this setPos [4319.2529, 4174.0708, 9.5367432e-006];}; _vehicle_844 = objNull;if (true) then{ _this = createVehicle ["Land_transport_crates_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_844 = _this; _this setDir 451.19333; _this setPos [4308.2339, 4197.9976, 9.4123945];}; _vehicle_847 = objNull;if (true) then{ _this = createVehicle ["Land_Bag_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_847 = _this; _this setDir 178.8203; _this setPos [4311.7759, 4196.6406, 8.9823236];}; _vehicle_849 = objNull;if (true) then{ _this = createVehicle ["Land_Bag_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_849 = _this; _this setDir 246.70558; _this setPos [4311.5376, 4195.7949, 9.4609604];}; _vehicle_857 = objNull;if (true) then{ _this = createVehicle ["Land_ladderEP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_857 = _this; _this setDir 360.89612; _this setPos [4316.4312, 4204.0049, -1.1722703];}; _vehicle_864 = objNull;if (true) then{ _this = createVehicle ["TT650_TK_CIV_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_864 = _this; _this setDir -397.87662; _this setPos [4320.8037, 4202.4829, 0.0076121911];}; _vehicle_866 = objNull;if (true) then{ _this = createVehicle ["Old_bike_TK_CIV_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_866 = _this; _this setDir 165.95163; _this setPos [4313.2114, 4184.7388, 0.022475928];}; _vehicle_867 = objNull;if (true) then{ _this = createVehicle ["Old_moto_TK_Civ_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_867 = _this; _this setDir 363.5528; _this setPos [4319.2627, 4202.4717, -0.022981761];}; _vehicle_876 = objNull;if (true) then{ _this = createVehicle ["Land_Bag_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_876 = _this; _this setDir 697.80011; _this setPos [4305.2588, 4172.0557, 0.77003843];}; _vehicle_884 = objNull;if (true) then{ _this = createVehicle ["Land_Bag_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_884 = _this; _this setDir 989.55347; _this setPos [4305.7139, 4173.0107, 1.6833776];}; _vehicle_906 = objNull;if (true) then{ _this = createVehicle ["Land_Bag_EP1", [0,0,0], [], 0, "NONE"]; _vehicle_906 = _this; _this setDir 605.99951; _this setPos [4309.4497, 4172.7935, 0.84525627];}; _vehicle_918 = objNull;if (true) then{ _this = createVehicle ["Land_Wicker_basket_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_918 = _this; _this setDir 291.28223; _this setPos [4306.0918, 4172.3306, 0.73555255];}; _vehicle_921 = objNull;if (true) then{ _this = createVehicle ["Land_Rack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_921 = _this; _this setDir -99.654999; _this setPos [4307.4307, 4168.313, 0.78724098];}; _vehicle_928 = objNull;if (true) then{ _this = createVehicle ["Land_Barrel_sand", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_928 = _this; _this setDir 271.29572; _this setPos [4307.4941, 4170.7793, 0.75715315];}; _vehicle_929 = objNull;if (true) then{ _this = createVehicle ["Land_Barrel_water", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_929 = _this; _this setDir 271.29572; _this setPos [4307.4722, 4170.147, 0.72505355];}; _vehicle_936 = objNull;if (true) then{ _this = createVehicle ["Land_Barrel_sand", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_936 = _this; _this setDir 271.29572; _this setPos [4308.4844, 4173.8281, 1.6690766];}; _vehicle_939 = objNull;if (true) then{ _this = createVehicle ["Land_Wicker_basket_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_939 = _this; _this setDir 291.28223; _this setPos [4308.4131, 4172.8018, 0.82937002];}; _vehicle_942 = objNull;if (true) then{ _this = createVehicle ["Land_Wicker_basket_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_942 = _this; _this setDir 291.28223; _this setPos [4309.2437, 4173.5059, 1.6718718];}; _vehicle_945 = objNull;if (true) then{ _this = createVehicle ["Land_Urn_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_945 = _this; _this setDir 327.55878; _this setPos [4308.4297, 4170.8853, 1.6398901];}; _vehicle_970 = objNull;if (true) then{ _this = createVehicle ["SkodaBlue", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_970 = _this; _this setDir 62.040436; _this setPos [4319.2954, 4193.7588, 9.5367432e-006];}; _vehicle_971 = objNull;if (true) then{ _this = createVehicle ["VolhaLimo_TK_CIV_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_971 = _this; _this setDir 133.66946; _this setPos [4317.3218, 4190.2227, 0.054592133];}; _vehicle_985 = objNull;if (true) then{ _this = createVehicle ["Barrel4", [0,0,0], [], 0, "NONE"]; _vehicle_985 = _this; _this setDir 177.1675; _this setPos [4319.2417, 4174.7305, -3.8146973e-006];}; _vehicle_1009 = objNull;if (true) then{ _this = createVehicle ["Laptop_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1009 = _this; _this setDir 550.26752; _this setPos [4310.0425, 4172.0498, 5.0789781];}; _group_17 = createGroup _center_5; _unit_163 = objNull;if (true) then{ _this = _group_17 createUnit ["Pastor", [4315.104, 4196.7368, 2.5896502], [], 0, "CAN_COLLIDE"]; _unit_163 = _this; _this setDir 84.629669; _this setUnitAbility 0.60000002; if (true) then {_group_17 selectLeader _this;};}; _unit_170 = objNull;if (true) then{ _this = _group_17 createUnit ["Haris_Press_EP1", [4307.2183, 4188.9238, 3.8938341], [], 0, "CAN_COLLIDE"]; _unit_170 = _this; _this setVehicleArmor 0.3072758; _this setVehicleInit "this disableAi ""Move"";"; _this setUnitAbility 0.60000002; if (false) then {_group_17 selectLeader _this;};}; _unit_178 = objNull;if (true) then{ _this = _group_17 createUnit ["Dr_Hladik_EP1", [4309.4873, 4188.4302, 3.7575114], [], 0, "CAN_COLLIDE"]; _unit_178 = _this; _this setDir 21.493452; _this setVehicleArmor 0.29810026; _this setVehicleInit "this disableAi ""Move"";"; _this setUnitAbility 0.60000002; if (false) then {_group_17 selectLeader _this;};}; _vehicle_1012 = objNull;if (true) then{ _this = createVehicle ["Desk", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1012 = _this; _this setDir -36.387077; _this setPos [4314.4302, 4203.979, 6.7713976];}; _vehicle_1018 = objNull;if (true) then{ _this = createVehicle ["Land_Reservoir_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1018 = _this; _this setDir 102.28519; _this setPos [4303.7124, 4210.0898, 7.1512742];}; _vehicle_1021 = objNull;if (true) then{ _this = createVehicle ["Land_stand_waterl_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1021 = _this; _this setDir 180.22917; _this setPos [4310.7026, 4204.9404, 6.8116117];}; _vehicle_1024 = objNull;if (true) then{ _this = createVehicle ["Land_transport_crates_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1024 = _this; _this setDir 775.85632; _this setPos [4319.2056, 4171.4102, 1.9073486e-005];}; _vehicle_1027 = objNull;if (true) then{ _this = createVehicle ["Land_Bag_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1027 = _this; _this setDir 254.40553; _this setPos [4319.6079, 4170.7319, 0.75699604];}; _vehicle_1030 = objNull;if (true) then{ _this = createVehicle ["Land_Chair_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1030 = _this; _this setDir 434.69791; _this setPos [4323.2266, 4184.9233, 0.018937109];}; _vehicle_1033 = objNull;if (true) then{ _this = createVehicle ["Garbage_container", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1033 = _this; _this setDir 97.03289; _this setPos [4343.8286, 4169.1123, 1.7166138e-005];}; _vehicle_1042 = objNull;if (true) then{ _this = createVehicle ["Land_Blankets_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1042 = _this; _this setDir 537.8949; _this setPos [4303.0356, 4177.6255, 4.3041415];}; _vehicle_1045 = objNull;if (true) then{ _this = createVehicle ["Land_bags_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1045 = _this; _this setDir 718.95599; _this setPos [4301.2451, 4170.5781, 0.33989513];}; _vehicle_1048 = objNull;if (true) then{ _this = createVehicle ["Land_bags_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1048 = _this; _this setDir 632.19507; _this setPos [4307.1885, 4166.52, 0.44867635];}; _vehicle_1057 = objNull;if (true) then{ _this = createVehicle ["Land_transport_crates_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1057 = _this; _this setDir 294.33954; _this setPos [4304.3037, 4182.6333, -0.072754264];}; _vehicle_1060 = objNull;if (true) then{ _this = createVehicle ["Land_Rack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1060 = _this; _this setDir -362.81485; _this setPos [4303.8892, 4208.7456, 0.8848545];}; _vehicle_1063 = objNull;if (true) then{ _this = createVehicle ["Land_Rack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1063 = _this; _this setDir -362.81485; _this setPos [4303.8301, 4207.1694, 0.86418849];}; _vehicle_1066 = objNull;if (true) then{ _this = createVehicle ["Land_Cabinet_EP1", [0,0,0], [], 0, "NONE"]; _vehicle_1066 = _this; _this setDir 93.254662; _this setPos [4307.5942, 4210.9087, 0.78592867];}; _vehicle_1068 = objNull;if (true) then{ _this = createVehicle ["Land_Cabinet_EP1", [0,0,0], [], 0, "NONE"]; _vehicle_1068 = _this; _this setDir 90.623444; _this setPos [4306.0864, 4210.938, 0.75556439];}; _vehicle_1071 = objNull;if (true) then{ _this = createVehicle ["SignM_UN_Base_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1071 = _this; _this setDir -47.917706; _this setPos [4307.7549, 4207.4653, 0.4083676];}; _vehicle_1078 = objNull;if (true) then{ _this = createVehicle ["Land_bags_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1078 = _this; _this setDir 279.74579; _this setPos [4316.5142, 4214.897, 8.9645386e-005];}; _vehicle_1079 = objNull;if (true) then{ _this = createVehicle ["Land_transport_crates_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1079 = _this; _this setDir 540.30853; _this setPos [4318.5073, 4214.9985, 0.055884566];}; _vehicle_1080 = objNull;if (true) then{ _this = createVehicle ["Land_bags_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1080 = _this; _this setDir 631.57336; _this setPos [4320.3809, 4215.0776, 0.045808777];}; _vehicle_1085 = objNull;if (true) then{ _this = createVehicle ["Land_bags_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1085 = _this; _this setDir 721.26471; _this setPos [4321.1768, 4215.064, 0.80055511];}; _vehicle_1090 = objNull;if (true) then{ _this = createVehicle ["Land_bags_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1090 = _this; _this setDir 887.67017; _this setPos [4324.5068, 4215.2402, 1.9073486e-006];}; _vehicle_1091 = objNull;if (true) then{ _this = createVehicle ["Land_bags_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1091 = _this; _this setDir 721.98389; _this setPos [4323.9551, 4214.9189, 0.63290483];}; _vehicle_1092 = objNull;if (true) then{ _this = createVehicle ["Land_transport_crates_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1092 = _this; _this setDir 901.19189; _this setPos [4322.2573, 4215.0444, 0.11881678];}; _vehicle_1097 = objNull;if (true) then{ _this = createVehicle ["Land_bags_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1097 = _this; _this setDir 313.67944; _this setPos [4327.1147, 4216.4292, 4.0054321e-005];}; _vehicle_1105 = objNull;if (true) then{ _this = createVehicle ["Land_bags_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1105 = _this; _this setDir 1172.3813; _this setPos [4323.4019, 4166.0303, 0.37339887];}; _vehicle_1106 = objNull;if (true) then{ _this = createVehicle ["Land_bags_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1106 = _this; _this setDir 1000.6963; _this setPos [4323.6797, 4166.0239, 1.0548019];}; _vehicle_1107 = objNull;if (true) then{ _this = createVehicle ["Land_transport_crates_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1107 = _this; _this setDir 1433.7064; _this setPos [4325.3066, 4166.0015, 0.34501815];}; _vehicle_1109 = objNull;if (true) then{ _this = createVehicle ["SignM_UN_Base_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1109 = _this; _this setDir -90.290619; _this setPos [4304.6934, 4187.8447, 3.7864804];}; _vehicle_1131 = objNull;if (true) then{ _this = createVehicle ["Land_Bowl_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1131 = _this; _this setDir 253.1779; _this setPos [4307.3145, 4186.6577, 0.027152283];}; _vehicle_1132 = objNull;if (true) then{ _this = createVehicle ["Land_Bucket_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1132 = _this; _this setDir 69.599571; _this setPos [4307.5737, 4184.5532, 3.3639426];}; _vehicle_1137 = objNull;if (true) then{ _this = createVehicle ["Desk", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1137 = _this; _this setDir -181.33406; _this setPos [4326.0137, 4210.5278, 0.055685971];}; _vehicle_1144 = objNull;if (true) then{ _this = createVehicle ["Land_Crates_stack_EP1", [0,0,0], [], 0, "CAN_COLLIDE"]; _vehicle_1144 = _this; _this setDir 550.19434; _this setPos [4344.3672, 4202.8042, 9.1552734e-005];}; _unit_184 = objNull;if (true) then{ _this = _group_17 createUnit ["Cock", [4324.127, 4202.9072, 0.70714563], [], 0, "FLY"]; _unit_184 = _this; _this setDir 258.91254; _this setVehicleInit "this disableAI ""move"";"; _this setUnitAbility 0.60000002; if (false) then {_group_17 selectLeader _this;};}; _vehicle_1155 = objNull;if (true) then{ _this = createVehicle ["Land_Ind_BoardsPack2", [0,0,0], [], 0, "FLY"]; _vehicle_1155 = _this; _this setDir 875.63727; _this setPos [4322.1382, 4211.5708, 6.4561367];}; _group_18 = createGroup _center_5; _unit_187 = objNull;if (true) then{ _this = _group_18 createUnit ["RU_Rocker1", [4316.3779, 4185.3701, -2.0980835e-005], [], 0, "CAN_COLLIDE"]; _unit_187 = _this; _this setDir 62.892021; _this setUnitAbility 0.60000002; if (true) then {_group_18 selectLeader _this;};// if (true) then {selectPlayer _this;};// if (true) then {setPlayable _this;};}; processInitCommands;//runInitScript; NAO ROLOU QDO LIGADO//finishMissionInit; The syntax file from A3 custom compositions is similar but has minor differences: composition.sqe - which I renamed latter to TestPos1.sqf and tried to adjust by myself uncessfully. This is a much amaller compostiotion them the posted above, just for testing version=52; center[]={4356.9043,226.48341,3811.9873}; class items { items=2; class Item0 { dataType="Group"; side="East"; class Entities { items=3; class Item0 { dataType="Object"; class PositionInfo { position[]={-1.8339844,0.010101318,-5.3344727}; }; side="East"; flags=7; class Attributes { }; id=46; type="O_Story_SpecOp_Leader_F"; atlOffset=1.5258789e-005; }; class Item1 { dataType="Waypoint"; position[]={-2.9331055,0.25701904,15.09668}; combatMode="GREEN"; speed="LIMITED"; combat="SAFE"; class Effects { }; showWP="NEVER"; id=47; type="Move"; atlOffset=1.5258789e-005; }; class Item2 { dataType="Waypoint"; position[]={1.0996094,0.012695313,-4.6804199}; type="Cycle"; class Effects { }; showWP="NEVER"; id=48; }; }; class Attributes { }; id=45; atlOffset=1.5258789e-005; }; class Item1 { dataType="Marker"; position[]={3.6679688,0,-5.0307617}; name="marker_1"; type="mil_warning"; id=49; }; }; Confronting these 2 syntaxes, I could note that the information regarding the positions of the elements are the same. Seems that the problem is the "header" and maybe the "end". Unfortunattly my sqf scripting skills are very limeted and after spending hours tryng to solve myself I´m "defeated". any help? Thanks in advance! Charlis Share this post Link to post Share on other sites