Sign in to follow this  
Tom Starsky

Error in expression

6 posts in this topic

Habt ihr den Error auch ?

LOG:

11:09:23 Error in expression <elect 0) createVehicle [0,0,0];
_object setDir (_x select 2);
_object setPosATL >
11:09:23   Error position: <setDir (_x select 2);
_object setPosATL >
11:09:23   Error setdir: Type Array, expected Number
11:09:23 File mpmissions\__cur_mp.isladuala3\initServer.sqf, line 195

initServer.sqf:

    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (_x select 2);
    _object setPosATL (_x select 1);
    _object allowDamage false;
    _object enableSimulationGlobal false; // :)
}
forEach _objects;

Share this post


Link to post
Share on other sites

Ich hatte so etwas ähnliches... da hab ich im Editor mit dem Exile 3denPlugin was gebaut und in die initServer.sqf importiert. Diese war aber in einem anderen Code geschrieben.....
auf den zweiten blick sehe ich aber etwas, was mich verwundert:

Spoiler

 


private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (_x select 2);
    _object setPosATL (_x select 1);
    _object allowDamage false;
    _object enableSimulationGlobal false; // :)
}
forEach _objects; 

 

 

 

Gehört das nicht eher so:

Spoiler

 


private _objects = [
	["ClassNameObjekt1",[11111.22,3333333.44,1.5],[[0,1,0],[0,0,1]],[false,false]],
	["ClassNameObjekt2",[11111.22,3333333.44,1.5],[[0,1,0],[0,0,1]],[false,false]],
	["ClassNameObjekt3",[11111.22,3333333.44,1.5],[[0,1,0],[0,0,1]],[false,false]]
];
{
	private _object = (_x select 0) createVehicle [0,0,0];
	_object setPosASL (_x select 1);
	_object setVectorDirAndUp (_x select 2);
	_object enableSimulationGlobal ((_x select 3) select 0);
	_object allowDamage ((_x select 3) select 1);
} forEach _objects;

 

 

 

also eben erste Zeile bei dir?

Solang man aber nicht ganz genau weiss, was du da versuchst zu treiben..... Vllt mal die initServer komplett herzeigen? Bitte im Spoiler :bandit:

Edited by CH!LL3R

Share this post


Link to post
Share on other sites
Advertisement

hmm dies hab ich aus der altis sollte eigentlich so stimmen! 

Spoiler

_objects =
[
["Exile_Sign_Aircraft", [4197.86, 2166.63, 16.3718], [-0.00832938, -0.999965, 0], [0, 0, 1], true],
["Exile_Sign_AircraftCustoms", [4134.57, 2165.82, 16.3718], [0.707107, -0.707107, 0], [0, 0, 1], true],
["Exile_Plane_AN2_Stripe", [4212.23, 2132.33, 17.9923], [-0.707107, 0.707107, 0], [0, 0, 1], false],
["GNT_C185F", [4206.66, 2162.79, 17.4102], [0.707107, 0.707107, 0], [0, 0, 1], false],
["An2_af", [4230.52, 2168.09, 17.9113], [-0.707107, 0.707107, 0], [0, 0, 1], false],
["Land_PortableLight_double_F", [4202.37, 2163.77, 16.4148], [-1, 1.19249e-008, 0], [0, 0, 1], true],
["GNT_C185T", [4181.9, 2161.01, 16.7956], [0, 1, 0], [0, 0, 1], false],
["UH1H_Closed_TK", [4172.67, 2161.44, 17.4988], [0, 1, 0], [0, 0, 1], false],
["Exile_Plane_BlackfishInfantry", [4171.85, 2231.94, 22.098], [0.258819, -0.965926, 0], [0, 0, 1], false],
["An2_tk", [4126.26, 2159.02, 17.992], [0, 1, 0], [0, 0, 1], false],
["Land_PortableLight_double_F", [4131.47, 2170.93, 16.3338], [0.499998, -0.866027, 0], [0, 0, 1], true],
["I_Plane_Fighter_04_F", [4125.6, 2174.87, 17.5541], [0.707107, 0.707107, 0], [0, 0, 1], false],
["B_UAV_05_F", [4158.41, 2162.91, 17.1041], [0, 1, 0], [0, 0, 1], false],
["Exile_Plane_BlackfishInfantry", [4209.11, 2229.59, 22.098], [0.258819, -0.965926, 0], [0, 0, 1], false],
["Exile_Plane_BlackfishInfantry", [4245.25, 2229.71, 22.098], [0.258819, -0.965926, 0], [0, 0, 1], false],
["I_Plane_Fighter_04_F", [4143.09, 2227.68, 17.5541], [0, 1, 0], [0, 0, 1], false],
["I_Plane_Fighter_04_F", [4124.7, 2226.5, 17.5541], [0.707107, 0.707107, 0], [0, 0, 1], false],
["Land_Kiosk_blueking_F", [4257.43, 2154.25, 17.1173], [-3.25841e-007, -1, 0], [0, 0, 1], true],
["Exile_Sign_Locker", [4272.34, 2157.13, 16.2911], [0.258819, -0.965926, 0], [0, 0, 1], true],
["Exile_Locker", [4276.2, 2155.27, 15.25], [1, -2.8213e-007, 0], [0, 0, 1], true],
["Exile_Locker", [4276.33, 2153.87, 15.25], [1, -2.8213e-007, 0], [0, 0, 1], true],
["Land_WaterCooler_01_old_F", [4254.97, 2156.26, 16.0821], [1, -6.39758e-007, 0], [0, 0, 1], true],
["Land_LampAirport_F", [4277.24, 2155.76, 27.6691], [0, 1, 0], [0, 0, 1], true],
["Land_LampAirport_F", [4223.4, 2166.14, 27.6691], [0, 1, 0], [0, 0, 1], true],
["Land_LampAirport_F", [4133.32, 2226.02, 27.6691], [-8.02679e-007, -1, 0], [0, 0, 1], true],
["Exile_Sign_Boat_Small", [3459.31, 1437.84, 3.068], [-8.02679e-007, -1, 0], [0, 0, 1], true],
["Land_Slum_05_F", [3466.76, 1428.33, 2.07801], [0.5, -0.866026, 0], [0, 0, 1], true],
["Exile_ConcreteMixer", [9388.4, 2661.38, 16.77], [0.707106, -0.707108, 0], [0, 0, 1], true],
["Exile_ConcreteMixer", [9386.13, 2663.78, 16.77], [0.707106, -0.707108, 0], [0, 0, 1], true],
["Exile_Construction_WaterBarrel_Preview", [9390.25, 2659.61, 17.3368], [0, 1, 0], [0, 0, 1], true],
["Exile_Construction_WiredFence_Static", [9384.54, 2678.88, 18.5588], [0.707107, 0.707107, 0], [0, 0, 1], true],
["Exile_Sign_TraderCity", [8565.87, 1098.51, 29.721], [-0.5, 0.866026, 0], [0, 0, 1], true],
["Exile_Sign_TraderCity", [8591.23, 1200.32, 31.9301], [-1.0411e-006, -1, 0], [0, 0, 1], true],
["Land_Kiosk_blueking_F", [8605.65, 1157.25, 31.3873], [1, -1.62921e-007, 0], [0, 0, 1], true],
["Exile_Sign_Locker", [8587.84, 1107.78, 30.3594], [0.499994, -0.866029, 0], [0, 0, 1], true],
["Exile_Locker", [8585.84, 1106.92, 28.9638], [-0.089036, -0.996028, 0], [0, 0, 1], true],
["Exile_Locker", [8584.43, 1106.91, 28.8403], [-0.0862304, -0.996275, 0], [0, 0, 1], true],
["Land_WaterCooler_01_old_F", [8603.64, 1154.79, 30.3521], [3.27826e-007, 1, 0], [0, 0, 1], true],
["Exile_Sign_Office_Small", [8573.73, 1165.45, 30.6615], [-0.970294, 0.241929, 0], [0, 0, 1], true],
["CUP_office_table_a", [8572.4, 1170.43, 30.336], [-0.0523331, 0.99863, 0.000110601], [0.00128872, -4.32173e-005, 0.999999], true],
["CUP_office_chair", [8571.47, 1170.48, 30.7333], [0, 1, 0], [0.00129158, 0, 0.999999], true],
["Land_Laptop_device_F", [8572.43, 1170.31, 31.1801], [-0.961262, -0.275637, 0], [0, 0, 1], false],
["Exile_Sign_Equipment_Small", [8600.12, 1118.03, 30.6615], [0.961268, 0.275617, 0], [0, 0, 1], true],
["TK_WarfareBContructionSite1_Base_EP1", [8597.99, 1108.55, 30.8538], [-0.99885, 0.0159242, 0.0452237], [0.0449528, -0.0169773, 0.998845], true],
["Garbage_container", [8581.42, 1107.35, 29.5813], [-0.999134, 0.041613, 0], [0, 0, 1], true],
["Exile_Sign_WasteDump_Small", [8599.41, 1190.11, 31.3315], [0.809017, 0.587785, 0], [0, 0, 1], true],
["I_G_Van_01_fuel_F", [8594.38, 1191.51, 32.0449], [-0.97815, -0.207902, 0], [0, 0, 1], true],
["Exile_Car_Hunter", [8602.34, 1187.11, 32.1936], [0, 0.997763, 0.0668488], [0.00600365, -0.0668476, 0.997745], false],
["Exile_Sign_Vehicles_Small", [8601.17, 1181.33, 30.7435], [0.939692, -0.342021, 0], [0, 0, 1], true],
["Exile_Sign_TraderCity", [6830.5, 7030.99, 16.6732], [-0.190803, 0.981628, 0], [0, 0, 1], true],
["Exile_Sign_TraderCity", [6855.34, 7127.61, 16.6999], [-1.0411e-006, -1, 0], [0, 0, 1], true],
["Land_Kiosk_blueking_F", [6891.09, 7087.27, 17.5407], [1, -1.62921e-007, 0], [0, 0, 1], true],
["Exile_Sign_Locker", [6851.38, 7033.01, 15.9711], [0.559187, -0.829041, 0], [0, 0, 1], true],
["Exile_Locker", [6849.45, 7032.01, 14.93], [-0.0193406, -0.999813, 0], [0, 0, 1], true],
["Exile_Locker", [6848.04, 7031.91, 14.93], [-0.0165244, -0.999863, 0], [0, 0, 1], true],
["Land_WaterCooler_01_old_F", [6889.08, 7084.81, 16.2773], [3.27826e-007, 1, 0], [0, 0, 1], true],
["Exile_Sign_Office_Small", [6753.9, 7072.56, 16.7689], [0.275661, 0.961255, 0], [0, 0, 1], true],
["CUP_office_table_a", [6754.9, 7081.33, 15.6274], [0.999848, 0.0174483, 0], [0, 0, 1], true],
["CUP_office_chair", [6754.98, 7082.26, 16.0235], [-0.707103, 0.70711, 0], [0, 0, 1], true],
["Land_Laptop_device_F", [6754.78, 7081.3, 16.4715], [-0.241909, 0.970299, 0], [0, 0, 1], false],
["Exile_Sign_Equipment_Small", [6893.26, 7043.5, 16.319], [0.990265, -0.139195, 0], [0, 0, 1], true],
["TK_WarfareBContructionSite1_Base_EP1", [6888.01, 7033.33, 16.2933], [-0.99982, 0.0167263, -0.00892872], [-0.00899675, -0.0039965, 0.999952], true],
["Garbage_container", [6845, 7032.13, 15.783], [-0.999603, -0.028184, 0], [0, 0, 1], true],
["Exile_Sign_WasteDump_Small", [6887.31, 7122.41, 16.9164], [0.898794, 0.438371, 0], [0, 0, 1], true],
["I_G_Van_01_fuel_F", [6882.6, 7124.66, 17.3794], [-0.998356, -0.034779, -0.0455565], [-0.0459213, 0.00976087, 0.998897], true],
["Exile_Car_Hunter", [6892.3, 7116.31, 18.2203], [-0.0342305, 0.999412, 0.00180359], [-0.0638688, -0.0039885, 0.99795], false],
["Exile_Sign_Vehicles_Small", [6891.34, 7110.48, 17.1694], [0.951056, -0.309018, 0], [0, 0, 1], true],
["Exile_Sign_Aircraft", [6844.05, 7123.49, 16.0518], [0.112831, 0.993614, 0], [0, 0, 1], true],
["GNT_C185F", [6835, 7120.29, 17.0095], [-0.0348975, -0.999391, 0], [0, 0, 1], false],
["Land_PortableLight_double_F", [6838.82, 7122.51, 16.0141], [0.731365, 0.681986, 0], [0, 0, 1], true],
["Exile_Sign_Armory", [6811.57, 7094.41, 15.9711], [0.0871557, 0.996195, 0], [0, 0, 1], true],
["Exile_Sign_Armory_Small", [6806.41, 7118.5, 16.2498], [-0.60181, 0.798639, 0], [0, 0, 1], true],
["Land_ChairWood_F", [6806.96, 7119.1, 15.0693], [-0.681995, 0.731357, 0.000332886], [0.000488106, 0, 1], true],
["Land_BagFence_Corner_F", [6769.27, 7072.83, 15.3511], [-0.406756, -0.913537, 0], [0, 0, 1], true],
["Land_BagFence_Long_F", [6771.06, 7071.76, 15.3493], [-0.406756, -0.913537, 0], [0, 0, 1], true],
["CUP_A2_carpetv2_ep1", [6754.56, 7079.64, 15.602], [0, 1, 0], [0, 0, 1], true],
["Land_LampHalogen_F", [6770.93, 7033.62, 20.9122], [0.866025, -0.5, 0], [0, 0, 1], true],
["Exile_Sign_SpecialOperations", [6823.35, 7033.7, 15.9711], [-8.74228e-008, -1, 0], [0, 0, 1], true],
["MapBoard_altis_F", [6821.11, 7034.13, 15.8989], [-0.501148, -0.865361, 0], [0, 0, 1], true],
["Land_CampingTable_F", [6826.49, 7034.02, 15.3365], [0, 1, 0], [0, 0, 1], true],
["Exile_Cosmetic_UAV", [6825.97, 7034.05, 15.8929], [0, 1, 0], [0, 0, 1], true],
["Land_Laptop_device_F", [6826.93, 7033.99, 15.8982], [0, 1, 0], [0, 0, 1], true],
["Land_Pallet_MilBoxes_F", [6824.44, 7034.49, 15.3801], [0, 1, 0], [0, 0, 1], true],
["Land_CampingChair_V1_F", [6771.45, 7074.95, 15.4377], [-0.00570372, 0.999984, 0], [0, 0, 1], true],
["Land_BottlePlastic_V2_F", [6770.94, 7074.84, 15.0609], [0.999392, 0.0348714, 0], [0, 0, 1], true],
["AmmoCrate_NoInteractive_", [6815.93, 7114.39, 15.2758], [0.999579, -0.0180369, 0.0227222], [-0.0227259, 0, 0.999742], true],
["CUP_A2_briefcase", [6815.98, 7113.63, 15.1841], [-0.243122, 0.96998, -0.0055266], [-0.0227259, 0, 0.999742], true],
["AmmoCrates_NoInteractive_Medium", [6806.58, 7112.56, 16.3315], [0, 1, 0], [0.0241617, 0, 0.999708], true],
["AmmoCrates_NoInteractive_Large", [6815.69, 7111.31, 16.4087], [-0.999742, 1.19249e-008, -0.0227259], [-0.0227259, 0, 0.999742], true],
["AmmoCrates_NoInteractive_Small", [6806.6, 7114.08, 16.109], [0.999707, -4.37114e-008, -0.024226], [0.024226, 0, 0.999707], true],
["Land_CampingChair_V2_F", [6815.9, 7112.85, 15.4433], [0.83029, 0.557012, 0.018874], [-0.0227259, 0, 0.999742], true],
["CUP_A2_flower_02", [6807.94, 7119.38, 15.0695], [-0.680156, -0.733067, 0.000331989], [0.000488106, 0, 1], true],
["ShootingMat_01_Olive_F", [6811.89, 7113.28, 15.0212], [0, 1, 0], [-0.0228983, 0, 0.999738], true],
["Land_Trophy_01_silver_F", [6815.96, 7114.04, 15.6633], [0.999725, -4.37114e-008, 0.0234588], [-0.0234588, 0, 0.999725], true],
["TargetStatic_ACR", [6812.94, 7118.66, 15.0609], [0, 1, 0], [0, 0, 1], true],
["Land_BagFenceShort", [6809.93, 7119.64, 15.5133], [0, 1, 0], [0, 0, 1], true],
["Land_BagFenceShort", [6814.02, 7119.64, 15.5089], [0, 1, 0], [0, 0, 1], true],
["Land_BagFenceShort", [6811.96, 7119.63, 15.4915], [0, 1, 0], [0, 0, 1], true],
["Land_Target_Dueling_01_F", [6811.96, 7118.89, 15.5654], [0, 1, 0], [0, 0, 1], true],
["TargetP_Zom_Acc1_F", [6809.81, 7118.96, 15.918], [0, 1, 0], [0, 0, 1], true],
["TargetStatic_ACR", [6810.9, 7118.69, 15.0284], [0, 1, 0], [0, 0, 1], true],
["TargetP_Zom_F", [6814.09, 7118.95, 15.9389], [0, 1, 0], [0, 0, 1], true],
["CUP_A2_carpetv2_ep1", [6756.08, 7079.64, 15.5985], [0, 1, 0], [0, 0, 1], true],
["Land_Sacks_goods_F", [6891.95, 7086.07, 16.2678], [0.918282, -0.395927, 0], [0, 0, 1], true],
["Land_Sacks_heap_F", [6892.69, 7090.22, 16.2256], [-0.175378, 0.984496, 0.00304497], [-0.0499373, -0.0119847, 0.99868], true],
["CUP_A1_kitchen_table_a", [6889.16, 7093.98, 15.6693], [-0.321807, -0.946444, -0.0261574], [-0.0459512, -0.0119822, 0.998872], true],
["Land_ChairPlastic_F", [6889.5, 7095.19, 16.182], [0.780326, -0.624728, 0.0284033], [-0.0459512, -0.0119822, 0.998872], true],
["Land_ChairPlastic_F", [6888.71, 7092.88, 16.118], [-0.945818, 0.322269, -0.0396447], [-0.0459512, -0.0119822, 0.998872], true],
["Land_CratesShabby_F", [6891.03, 7090.43, 16.5332], [0.0992221, -0.995065, 0], [0, 0, 1], true],
["Land_Microwave_01_F", [6889.3, 7089.26, 17.0317], [-0.00287706, 0.999996, 0], [0, 0, 1], true],
["Land_Ketchup_01_F", [6889.59, 7089.26, 17.0481], [-0.965929, -0.258808, 0], [0, 0, 1], true],
["Land_Mustard_01_F", [6889.52, 7089.24, 17.0409], [-0.965929, -0.258808, 0], [0, 0, 1], true],
["CUP_flower_01", [6891.08, 7095.4, 15.7791], [0, 0.999928, 0.0119996], [-0.0499373, -0.0119847, 0.99868], true],
["CUP_flower_02", [6889.82, 7091.58, 15.6709], [-0.820482, -0.569932, -0.0445814], [-0.0459512, -0.0119822, 0.998872], true],
["Land_WoodenTable_large_F", [6859.41, 7034.3, 15.3623], [-0.999391, 0.0349003, 0], [0, 0, 1], true],
["Land_LuggageHeap_01_F", [6858.81, 7034.4, 16.3082], [0.0317221, 0.999497, 0], [0, 0, 1], true],
["Land_LuggageHeap_02_F", [6859.82, 7034.41, 16.1009], [-0.582985, 0.812483, 0], [0, 0, 1], true],
["Exile_Sign_Equipment", [6861.37, 7033.54, 15.9711], [0.02359, -0.999722, 0], [0, 0, 1], true],
["Land_PaperBox_open_full_F", [6863.16, 7034.79, 15.538], [0.999151, 0.0411902, 0], [0, 0, 1], true],
["Land_BagFence_Round_F", [6751.57, 7073.93, 19.3468], [0.244471, 0.969657, 0], [0, 0, 1], true],
["Land_BagFence_Round_F", [6749.89, 7076.74, 19.4207], [0.992194, -0.124704, 0], [0, 0, 1], true],
["Exile_Cosmetic_MG", [6750.74, 7075.48, 20.1172], [0.815269, 0.579083, 0], [0, 0, 1], true],
["Land_BagFence_Round_F", [8581.24, 1189.52, 30.9625], [-0.977683, -0.208051, 0.0291739], [0.0439562, -0.0667851, 0.996799], true],
["Land_BagFence_Round_F", [8578.73, 1191.62, 30.975], [0.0825174, -0.996582, 0.00397794], [-0.0598916, -0.000974635, 0.998204], true],
["Exile_Cosmetic_MG", [8580.02, 1190.43, 31.8191], [-0.581519, -0.813157, 0.0247449], [0.0439577, -0.00103451, 0.999033], true],
["Land_BagFence_Round_F", [8569.99, 1108.59, 29.207], [-0.553519, 0.827813, 0.0913356], [0.00198347, -0.108357, 0.99411], true],
["Land_BagFence_Round_F", [8571.01, 1111.7, 29.3722], [-0.893563, -0.445054, -0.058919], [-0.0299852, -0.0717817, 0.99697], true],
["Exile_Cosmetic_MG", [8570.39, 1110.06, 30.0341], [-0.971052, 0.238563, -0.0120292], [-0.0299852, -0.0717817, 0.99697], true],
["Exile_Sign_Hardware", [6773.66, 7048.21, 15.9711], [-0.292388, -0.9563, 0], [0, 0, 1], true],
["Land_Workbench_01_F", [6773.8, 7048.75, 15.4267], [-0.292388, -0.9563, 0], [0, 0, 1], true],
["Land_PaperBox_closed_F", [6778.83, 7047.41, 15.5738], [-0.292388, -0.9563, 0], [0, 0, 1], true],
["Exile_Sign_Locker", [6770, 7084.58, 15.9711], [-0.927182, 0.374612, 0], [0, 0, 1], true],
["Exile_Locker", [6769.63, 7081.03, 14.93], [-0.996028, 0.0890419, 0], [0, 0, 1], true],
["Exile_Locker", [6769.63, 7082.45, 14.93], [-0.996275, 0.0862337, 0], [0, 0, 1], true],
["Land_LampHalogen_F", [6770.37, 7126.09, 20.9122], [-0.829039, -0.55919, 0], [0, 0, 1], true],
["Land_LampHalogen_F", [6893.85, 7126.06, 22.1276], [-0.453988, 0.891008, 0], [0, 0, 1], true],
["Land_LampHalogen_F", [6893.07, 7033.88, 21.0585], [0.83867, 0.54464, 0], [0, 0, 1], true],
["Exile_Sign_Boat_Small", [2064.71, 6296.78, 6.12848], [-0.0174335, 0.999848, 0], [0, 0, 1], true],
["Land_Slum_05_F", [2060.03, 6302.65, 5.22107], [-0.515032, 0.857171, 0], [0, 0, 1], true],
["Exile_Sign_Boat_Small", [7215.12, 9765.46, 5.13071], [-0.681987, 0.731364, 0], [0, 0, 1], true],
["Land_Slum_05_F", [7210.41, 9766.59, 4.98123], [-0.0174502, -0.999848, 0], [0, 0, 1], true],
["a3\structures_f_heli\civ\constructions\tooltrolley_02_f.p3d", [4204.35, 2163.5, 15.8103], [0.707106, -0.707107, 0], [0, 0, 1]],
["a3\structures_f\items\tools\pliers_f.p3d", [4204.18, 2163.87, 16.2951], [0, 1, 0], [0, 0, 1]],
["a3\structures_f\items\tools\screwdriver_v1_f.p3d", [4204.44, 2163.61, 16.3013], [0.707107, 0.707107, 0], [0, 0, 1]],
["a3\structures_f\items\tools\screwdriver_v1_f.p3d", [4204.49, 2163.55, 16.2996], [0.707107, 0.707107, 0], [0, 0, 1]],
["a3\structures_f_epa\items\tools\ducttape_f.p3d", [4204.22, 2163.46, 16.2963], [0, 1, 0], [0, 0, 1]],
["a3\structures_f_epa\items\tools\ducttape_f.p3d", [4204.16, 2163.55, 16.3306], [0, 0.965926, -0.258819], [0, 0.258819, 0.965926]],
["a3\structures_f\items\tools\hammer_f.p3d", [4204.53, 2163.27, 16.3367], [0.249998, -0.933014, 0.258817], [-0.0669865, 0.249998, 0.965926]],
["a3\structures_f\items\electronics\floodlight_f.p3d", [4196.95, 2166.86, 19.1588], [-0.707107, -3.09086e-008, -0.707107], [0, 1, -4.37114e-008]],
["a3\structures_f\items\tools\wrench_f.p3d", [4204.43, 2163.22, 16.2943], [0, 1, 0], [0, 0, 1]],
["a3\structures_f\items\tools\wrench_f.p3d", [4204.61, 2163.46, 16.2903], [-0.866025, 0.500001, 0], [0, 0, 1]],
["a3\structures_f_heli\civ\constructions\tooltrolley_02_f.p3d", [4128.42, 2173.04, 15.7296], [1, -1.95106e-006, 0], [0, 0, 1]],
["a3\structures_f\items\tools\pliers_f.p3d", [4128.08, 2173.17, 16.2144], [-0.707107, 0.707107, 0], [0, 0, 1]],
["a3\structures_f\items\tools\screwdriver_v1_f.p3d", [4128.46, 2173.17, 16.2205], [0, 1, 0], [0, 0, 1]],
["a3\structures_f\items\tools\screwdriver_v1_f.p3d", [4128.53, 2173.16, 16.2188], [0, 1, 0], [0, 0, 1]],
["a3\structures_f_epa\items\tools\ducttape_f.p3d", [4128.41, 2172.91, 16.2156], [-0.707107, 0.707107, 0], [0, 0, 1]],
["a3\structures_f_epa\items\tools\ducttape_f.p3d", [4128.29, 2172.92, 16.2499], [-0.707107, 0.707107, 0], [0, 0, 1]],
["a3\structures_f\items\tools\hammer_f.p3d", [4128.76, 2173, 16.256], [0.870389, -0.492364, 0], [0, 0, 1]],
["a3\structures_f\items\tools\wrench_f.p3d", [4128.73, 2172.89, 16.2135], [-0.707107, 0.707107, 0], [0, 0, 1]],
["a3\structures_f\items\tools\wrench_f.p3d", [4128.68, 2173.18, 16.2096], [-0.965926, -0.258817, 0], [0, 0, 1]],
["a3\weapons_f\ammoboxes\supplydrop.p3d", [8603.85, 1113.16, 30.4124], [-0.798635, 0.601815, 0], [0, 0, 1]],
["a3\weapons_f_bootcamp\ammoboxes\ammobox_02_f.p3d", [8603.63, 1116.12, 30.8808], [-0.0348968, -0.999391, 0], [0, 0, 1]],
["a3\weapons_f\ammoboxes\wpnsbox_large_f.p3d", [8601.55, 1112.56, 29.7067], [0, 1, 0], [0, 0, 1]],
["a3\weapons_f\ammoboxes\wpnsbox_large_f.p3d", [8601.56, 1112.53, 30.0181], [0, 1, 0.000488106], [0, -0.000488106, 1]],
["a3\weapons_f\ammoboxes\wpnsbox_large_f.p3d", [8601.55, 1112.55, 30.6696], [0, 0.999999, 0.00169117], [0, -0.00169117, 0.999999]],
["a3\weapons_f\ammoboxes\wpnsbox_large_f.p3d", [8601.57, 1112.52, 30.3712], [0, 0.999999, 0.00109178], [0, -0.00109178, 0.999999]],
["a3\weapons_f\ammoboxes\supplydrop.p3d", [6893.88, 7037.94, 16.0072], [-0.798491, 0.601969, -0.00674397], [-0.0189951, -0.0139963, 0.999722]],
["a3\weapons_f_bootcamp\ammoboxes\ammobox_02_f.p3d", [6893.66, 7040.9, 16.512], [-0.0348905, -0.999298, -0.0136515], [-0.0189951, -0.0129943, 0.999735]],
["a3\weapons_f\ammoboxes\wpnsbox_large_f.p3d", [6891.57, 7037.33, 15.2602], [0, 0.999992, 0.00399666], [-0.00899675, -0.0039965, 0.999952]],
["a3\weapons_f\ammoboxes\wpnsbox_large_f.p3d", [6891.59, 7037.31, 15.6133], [0, 0.999989, 0.00459318], [-0.00899675, -0.004593, 0.999949]],
["a3\weapons_f\ammoboxes\wpnsbox_large_f.p3d", [6891.58, 7037.33, 16.3194], [0, 0.999983, 0.00579766], [-0.00899675, -0.00579742, 0.999943]],
["a3\weapons_f\ammoboxes\wpnsbox_large_f.p3d", [6891.59, 7037.3, 15.9664], [0, 0.999987, 0.00519017], [-0.00899675, -0.00518996, 0.999946]],
["a3\structures_f_heli\civ\constructions\tooltrolley_02_f.p3d", [6837.18, 7121.35, 15.4096], [-0.999391, 0.0349003, 0], [0, 0, 1]],
["a3\structures_f\items\tools\pliers_f.p3d", [6837.55, 7121.19, 15.8944], [0.681999, -0.731353, 0], [0, 0, 1]],
["a3\structures_f\items\tools\screwdriver_v1_f.p3d", [6837.18, 7121.2, 15.9005], [-0.0348975, -0.999391, 0], [0, 0, 1]],
["a3\structures_f\items\tools\screwdriver_v1_f.p3d", [6837.12, 7121.21, 15.8988], [-0.0348975, -0.999391, 0], [0, 0, 1]],
["a3\structures_f_epa\items\tools\ducttape_f.p3d", [6837.24, 7121.46, 15.8956], [0.681999, -0.731353, 0], [0, 0, 1]],
["a3\structures_f_epa\items\tools\ducttape_f.p3d", [6837.35, 7121.44, 15.9299], [0.669271, -0.743018, 0], [0, 0, 1]],
["a3\structures_f\items\tools\hammer_f.p3d", [6836.89, 7121.38, 15.936], [-0.839614, 0.543184, 0], [0, 0, 1]],
["a3\structures_f\items\tools\wrench_f.p3d", [6836.92, 7121.49, 15.8935], [0.681999, -0.731353, 0], [0, 0, 1]],
["a3\structures_f\items\tools\wrench_f.p3d", [6836.95, 7121.2, 15.8896], [0.974374, 0.224933, 0], [0, 0, 1]],
["ca\misc2\gunrack1.p3d", [6806.06, 7117.63, 15.5752], [0.999405, -0.034498, -0.000487816], [0.000488106, 0, 1]],
["ca\misc_e\gunrack1_ep1.p3d", [6806.05, 7116.77, 15.5542], [0.999406, -0.0344554, -0.000487817], [0.000488106, 0, 1]],
["a3\supplies_f_heli\cargonets\cargonet_01_box_f.p3d", [6777.29, 7047.81, 15.565], [-0.292388, -0.9563, 0], [0, 0, 1]],
["Exile_Sign_VehicleCustoms", [6893.84, 7099.39, 17.0221], [0.997883, -0.0358273, 0.0542823], [-0.0549169, -0.0169727, 0.998347], true],
["HMMWV_M2_des", [6890.35, 7104.2, 18.4274], [-0.998339, 0.0177807, -0.0548015], [-0.0549153, -0.00597745, 0.998473], false]
];

{
    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (_x select 2);
    _object setPosATL (_x select 1);
    _object allowDamage false;
    _object enableSimulationGlobal false; // :)
}
forEach _objects;


///////////////////////////////////////////////////////////////////////////////////////////////////
// Concrete Mixers
///////////////////////////////////////////////////////////////////////////////////////////////////

_concreteMixers = 
[
    [[9386.13,2663.78,16.77], 0.292692], 
    [[9388.4,2661.38,16.77],  0.292692],             
    [[3857.48,7350.34,14.89], 0.259879],
    [[3855.22,7352.73,14.89], 0.259879]
];

{
    _concreteMixer = "Exile_ConcreteMixer" createVehicle (_x select 0);
    _concreteMixer setDir (_x select 1);
    _concreteMixer setPosASL (_x select 0);
    _concreteMixer allowDamage false;
    _concreteMixer enableSimulationGlobal true;
}
forEach _concreteMixers;

 

Share this post


Link to post
Share on other sites

Sieht bei mir anders aus.....

Spoiler



private _objects = 
[
	["Land_CarService_F", [14618.7,16877.4,18.7724], [[0.750538,-0.660827,0],[0,0,1]], [true, false]],
	["Land_cargo_addon02_V2_F", [14563.7,16776.6,19.4699], [[0.723738,-0.690074,0],[0,0,1]], [false, false]],
	["Land_cargo_addon02_V1_F", [14619.2,16831.5,19.1926], [[-0.707107,0.707107,0],[0,0,1]], [false, false]],
	["Land_ScrapHeap_1_F", [14630.3,16882.7,17.7946], [[-8.74228e-008,-1,0],[0,0,1]], [false, false]],
	["Land_ScrapHeap_2_F", [14616,16869,18.1088], [[0.978803,-0.204804,0],[0,0,1]], [false, false]],
.
.
.
.	
.
	["Exile_Sign_WasteDump_Small", [23341.3,24194.2,4.44642], [[-0.5,0.866025,0],[0,0,1]], [false, false]],
	["Exile_Sign_Food_Small", [23353.6,24171.1,3.37786], [[-0.678506,-0.734595,0],[0,0,1]], [false, false]],
	["Exile_Sign_Boat_Small", [23333.4,24189.1,3.19471], [[-0.916111,0.400924,0],[0,0,1]], [false, false]],
	["Exile_Locker", [14618.4,16804.2,17.9974], [[0.69225,-0.721658,0],[0,0,1]], [false, false]],
	["Exile_Sign_Locker", [14620,16805.8,17.91], [[0.711919,-0.702261,0],[0,0,1]], [false, false]],
	["Exile_Locker", [23328.7,24200.8,4.52368], [[0,1,0],[0,0,1]], [false, false]],
	["Exile_Sign_Locker", [23336.1,24199.7,4.37551], [[-1,1.19249e-008,0],[0,0,1]], [false, false]],
	["Exile_Locker",[2988.82,18173.9,1.35244],[[0.999929,0.011945,0],[0,0,1]],[false,false]],
	["Exile_Sign_Locker",[2984.21,18173.6,1.35244],[[0.999929,0.0118953,0],[0,0,1]],[false,false]]
];

{
	private _object = (_x select 0) createVehicle [0,0,0];
	_object setPosASL (_x select 1);
	_object setVectorDirAndUp (_x select 2);
	_object enableSimulationGlobal ((_x select 3) select 0);
	_object allowDamage ((_x select 3) select 1);
} forEach _objects;


///////////////////////////////////////////////////////////////////////////////////////////////////
// Russian Roulette
///////////////////////////////////////////////////////////////////////////////////////////////////

_objects =
[
    ["Land_WoodenTable_large_F", [14628.171,16826.014,18.467293], 0, false],
    ["Exile_Sign_RussianRoulette", [14623.898,16820.336, 18.950966], 0.77240193, false],
    ["Land_HumanSkull_F", [14621.056, 16821.572, 18.476805], 2.0025947, false],
    ["Land_WheelCart_F", [14621.334,16821.477, 18.355867], 4.9935374, false],
    ["Land_Camping_Light_F", [14628.075,16825.77, 19.00408], 0, true]
    //["Land_SportGround_fence_F", [14625.692, 16818.945, 18.791378], 0.79693103, false], 
    //["Land_SportGround_fence_F", [14633.911, 16816.904, 17.9177], 5.4953084, false], 
    //["Land_CargoBox_V1_F", [14619.726, 16823.613, 18.75972], 5.4931207, false],
];

{
    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (deg (_x select 2));
    _object setPosWorld (_x select 1);
    _object allowDamage false;
    _object enableSimulation (_x select 3);
    _object enableSimulationGlobal (_x select 3);
}
forEach _objects;


 

Sieh dir mal genau die Formatierungen an. Ich glaube du hast da was verhauen... Mit dem Code _object setDir (_x select 2);  kann der Server eben nix anfangen, weil dieser zu ner anderen Formatierung gehört. Du hast deine Sachen hier eingetragen:

Spoiler



_objects =
[
    ["Land_WoodenTable_large_F", [14628.171,16826.014,18.467293], 0, false],
    ["Exile_Sign_RussianRoulette", [14623.898,16820.336, 18.950966], 0.77240193, false],
    ["Land_HumanSkull_F", [14621.056, 16821.572, 18.476805], 2.0025947, false],
    ["Land_WheelCart_F", [14621.334,16821.477, 18.355867], 4.9935374, false],
    ["Land_Camping_Light_F", [14628.075,16825.77, 19.00408], 0, true]
    //["Land_SportGround_fence_F", [14625.692, 16818.945, 18.791378], 0.79693103, false], 
    //["Land_SportGround_fence_F", [14633.911, 16816.904, 17.9177], 5.4953084, false], 
    //["Land_CargoBox_V1_F", [14619.726, 16823.613, 18.75972], 5.4931207, false],
];

{
    private ["_object"];

    _object = (_x select 0) createVehicle [0,0,0];
    _object setDir (deg (_x select 2));
    _object setPosWorld (_x select 1);
    _object allowDamage false;
    _object enableSimulation (_x select 3);
    _object enableSimulationGlobal (_x select 3);
}
forEach _objects;


 

Sie gehören aber mit dieser Formatierung in diesen Abschnitt:

Spoiler



private _objects = 
[
	["Land_CarService_F", [14618.7,16877.4,18.7724], [[0.750538,-0.660827,0],[0,0,1]], [true, false]],
	["Land_cargo_addon02_V2_F", [14563.7,16776.6,19.4699], [[0.723738,-0.690074,0],[0,0,1]], [false, false]],
.
.
.
.
.
	["Exile_Sign_Locker", [23336.1,24199.7,4.37551], [[-1,1.19249e-008,0],[0,0,1]], [false, false]],
	["Exile_Locker",[2988.82,18173.9,1.35244],[[0.999929,0.011945,0],[0,0,1]],[false,false]],
	["Exile_Sign_Locker",[2984.21,18173.6,1.35244],[[0.999929,0.0118953,0],[0,0,1]],[false,false]]
];

{
	private _object = (_x select 0) createVehicle [0,0,0];
	_object setPosASL (_x select 1);
	_object setVectorDirAndUp (_x select 2);
	_object enableSimulationGlobal ((_x select 3) select 0);
	_object allowDamage ((_x select 3) select 1);
} forEach _objects;


 

Ich weiss jetzt nicht genau, wie ich es besser darstellen könnte, hab grad die ganze Nacht an einem Problem gesessen und nicht mehr ganz so frisch inner Birne, aber man sollte sehen worauf ich hinaus will... -_-

Share this post


Link to post
Share on other sites

habe das Problem gefixt! 

einfach die mission nochmal mit dem 3den Editor exportiert und in die initServer.sqf eingefügt. Nun ist es weg. 

Hast Recht gehabt war die Formatierung habe da wohl einen Fehler gemacht.

Danke dir :D

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.