joe_candy Posted April 20, 2015 Report Share Posted April 20, 2015 Hey, i can't find my error, so i hope you could help me... I try to use two different spawnpoints for Air and Land vehicle with two different "helipads". "HeliHCivil" -> air vehicle "Sr_border" -> land vehicle i try some different codes at the "getvehicle.sqf" but nothing works. RPT don't log some errors, so i don't know where i could find my error. Try this code //Get Spawn Location _dir = round(random 360); _helipad = nearestObjects [player, ["HeliH","HeliHCivil","HeliHRescue","MAP_Heli_H_army"], 70]; _vgcarspawn = nearestObjects [player, ["MAP_Heli_H_cross","Sr_border"], 70]; if((count _helipad == 0) && (_vehicleClass == "Air")) exitWith {cutText ["You need a helipad to spawn air vehicles", "PLAIN DOWN"];}; if((count _vgcarspawn == 0) && (_vehicleClass == "Land")) exitWith {cutText ["You need a carpad to spawn land vehicles", "PLAIN DOWN"];}; if((count _helipad > 0) && (_vehicleClass == "Air")) then { _location = (getPosATL (_helipad select 0)); } else { if((count _vgcarspawn > 0) && (_vehicleClass == "Land")) then { _location = (getPosATL (_vgcarspawn select 0)); } else { _location = [(position player),0,20,1,0,2000,0] call BIS_fnc_findSafePos; };}; original getvehicle.sqf // Developed by [GZA] David for German Zombie Apocalypse Servers (https://zombieapo.eu/) private["_vehicle","_vehicleClass","_dir","_helipad","_location","_veh","_location","_veh","_result","_id","_inventory","_backpack","_fuel","_damage","_id"]; if(lbCurSel 2802 == -1) exitWith {hint "No Vehicle selected"}; closeDialog 0; _vehicle = lbData[2802,(lbCurSel 2802)]; _vehicle = (call compile format["%1",_vehicle]); _vehicleClass = getText(configFile >> "CfgVehicles" >> (_vehicle select 1) >> "vehicleClass"); //Get Spawn Location _dir = round(random 360); _helipad = nearestObjects [player, ["HeliH","HeliHCivil","HeliHRescue","MAP_Heli_H_army","MAP_Heli_H_cross","Sr_border"], 70]; if((count _helipad == 0) && (_vehicleClass == "Air")) exitWith {cutText ["You need a helipad to spawn air vehicles", "PLAIN DOWN"];}; if(count _helipad > 0) then { _location = (getPosATL (_helipad select 0)); } else { _location = [(position player),0,20,1,0,2000,0] call BIS_fnc_findSafePos; }; _veh = createVehicle ["Sign_arrow_down_large_EP1", _location, [], 0, "CAN_COLLIDE"]; PVDZE_spawnVehicle = [_veh, [_dir,_location], player, (_vehicle select 0)]; // _vehicle select 0 = id publicVariableServer "PVDZE_spawnVehicle"; waitUntil {!isNil "PVDZE_spawnVehicleResult"}; if(PVDZE_spawnVehicleResult != "0") then { _result = "0"; _id = parsenumber PVDZE_spawnVehicleResult; if ((_id > 0) && (_id <= 2500)) then {_result = format["ItemKeyGreen%1",_id];}; if ((_id > 2500) && (_id <= 5000)) then {_result = format["ItemKeyRed%1",_id-2500];}; if ((_id > 5000) && (_id <= 7500)) then {_result = format["ItemKeyBlue%1",_id-5000];}; if ((_id > 7500) && (_id <= 10000)) then {_result = format["ItemKeyYellow%1",_id-7500];}; if ((_id > 10000) && (_id <= 12500)) then {_result = format["ItemKeyBlack%1",_id-10000];}; _inventory = (weapons player); _backpack = ((getWeaponCargo unitBackpack player) select 0); if (_result in (_inventory+_backpack)) then { if (_result in _inventory) then {cutText [format["Key [%1] already in your inventory!",_result], "PLAIN"];}; if (_result in _backpack) then {cutText [format["Key [%1] already in your backpack!",_result], "PLAIN"];}; } else { player addweapon _result; cutText [format["Key [%1] added to your inventory!",_result], "PLAIN"]; }; }; PVDZE_spawnVehicleResult = nil; PVDZE_queryGarageVehicleResult = nil; sleep 2; cutText ["Spawned Vehicle.", "PLAIN DOWN"]; Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 Using your exact code above, it spawns below for me, and the car still spawns in the air and falls. Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 well that is weird =/ ok then try changing this line: _sign setPos _position; to: _sign setPosATL _position; Link to comment Share on other sites More sharing options...
0 Buck0 Posted May 21, 2015 Report Share Posted May 21, 2015 seems to be working for me, WELL DONE! SchwEde 1 Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 Arrow shows in the right spot, vehicle spawns below the metal floor (just like in the screenshot above). Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 can you post your server_spawnvehicle? Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 http://pastebin.com/h5wqTzCd http://pastebin.com/fFrfrwC6 Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 added debug lines: http://pastebin.com/Q0MYUtjZ spawn a vehicle and paste the RPT lines with the output: search for Schwede Is the arrow spawns for the cars on the ground? Link to comment Share on other sites More sharing options...
0 Guest Posted May 21, 2015 Report Share Posted May 21, 2015 First of all: If you haven't got those Borders, the car will spawn weired. Second: If you spawn it literally an inch above a House it will Spawn Weired. Some Houses have like an invisible Box around them. Try changing: _object = createVehicle [_class, _location, [], 0, "CAN_COLLIDE"]; to: _object = createVehicle [_class, _location, [], 0, "NONE"]; In server_spawn.. Same for vehicle garage: _sign = createVehicle ["Sign_arrow_down_large_EP1",_position,[],0,"CAN_COLLIDE"]; _sign = createVehicle ["Sign_arrow_down_large_EP1",_position,[],0,"NONE"]; Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 added debug lines: http://pastebin.com/Q0MYUtjZ spawn a vehicle and paste the RPT lines with the output: search for Schwede Is the arrow spawns for the cars on the ground? Spawned 350Z, arrow about 30m in the air and car falls to ground: 13:58:44 "VIRTUAL GARAGE: Player CEN () has spawned a 350z_gold | [["UH1Y_DZE","11062","0","0",[[[],[]],[[],[]],[[],[]]],0.999,0,[]]]" 13:58:45 "[Schwede_Debug]: _location: [4026.6,6905.18,12.4053] | _object getPos: [4026.68,6905.22,12.4196] | _object getPosATL: [4026.68,6905.22,12.4126]" 13:58:45 "[Schwede_Debug]: After setPos | _object getPos: [4026.68,6905.22,12.4196] | _object getPosATL: [4026.68,6905.22,12.4126]" Spawned UH-1H and arrow was in the correct spot. Vehicle spawned below on the ground: 14:00:44 "VIRTUAL GARAGE: Player CEN () has spawned a UH1H_DZE | []" 14:00:45 "[Schwede_Debug]: _location: [4033.52,6920.33,-0.0299683] | _object getPos: [4033.68,6920.41,-0.00338745] | _object getPosATL: [4033.68,6920.41,-0.0166931]" 14:00:45 "[Schwede_Debug]: After setPos | _object getPos: [4033.68,6920.41,-0.00338745] | _object getPosATL: [4033.68,6920.41,-0.0166931]" Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 Well this means, the actual spawn position is workin right. Means we need to get the arrow to spawn on the right position. Try what Martin said and tell the results. EDIT: Try this file and post the debug output: http://pastebin.com/SHapZxw8 Test this with a vehicle and a heli please Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 No change at all. Car still spawns in air, vehicles spawn below metal floor. Line 532: 14:08:56 "[Schwede_Debug]: _location: [4033.52,6920.33,-0.0299683] | _object getPos: [4037.49,6922.08,-0.00857544] | _object getPosATL: [4037.49,6922.08,-0.0192871]" Line 533: 14:08:56 "[Schwede_Debug]: After setPos | _object getPos: [4033.67,6920.39,-0.003479] | _object getPosATL: [4033.67,6920.39,-0.0181274]" Line 538: 14:09:02 "[Schwede_Debug]: _location: [4021.47,6909.88,12.4056] | _object getPos: [4021.54,6909.91,12.4205] | _object getPosATL: [4021.54,6909.91,12.4132]" Line 539: 14:09:02 "[Schwede_Debug]: After setPos | _object getPos: [4021.54,6909.91,12.4205] | _object getPosATL: [4021.54,6909.91,12.4132]" Line 552: 14:09:47 "[Schwede_Debug]: _location: [4484.17,6476.34,-0.0306702] | _object getPos: [4487.34,6474.05,-0.0118713] | _object getPosATL: [4487.34,6474.05,-0.0213623]" Line 553: 14:09:47 "[Schwede_Debug]: After setPos | _object getPos: [4484.17,6476.48,0.00259399] | _object getPosATL: [4484.17,6476.48,-0.0213318]" Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 those are the wrong lines: just check the RPT again i need those with this content: [schwede_Debug]: _nearestpad getPos: %1 | _nearestpad getPosATL: %2" [schwede_Debug]: _sign getPos: %1 | _sign getPosATL: %2 [schwede_Debug]: After setPos | _sign getPos: %1 | _sign getPosATL: %2 EDIT: also meet me here for faster response :) http://bloochat.com/schwede Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 I don't have those lines in RPT. Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 oh right they should be in your client RPT sry ^^ C:\Users\USERNAME\AppData\Local\ArmA 2 OA Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 Nothing in client RPT either. Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 it should be ^^ try changing diag_log into systemchat and see if its popping up in game :) Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 Didn't work :D Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 well this means that this is not the right file O_o It is defently in there so something has to pop up, check the file path and if its really that recent one ;) also found something: maybe remove the double () in the file: ((getPos _sign)) to (getPos _sign) Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 Changing this: diag_log format ["[Schwede_Debug]: _location: %1 | _object getPos: %2 | _object getPosATL: %3",_location,((getPos _object)),(getPosATL _object)]; To this: systemchat format ["[Schwede_Debug]: _location: %1 | _object getPos: %2 | _object getPosATL: %3",_location,((getPos _object)),(getPosATL _object)]; Didn't do anything in server_spawnVehicle.sqf Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 well maybe i should have tell you that its in the other file (client sided) vehicle garage.sqf(?) /*** Created by 0verHeaT ***/ private ["_Missing","_index","_SpawnPats","_helipadsnear","_nearestpad","_veh","_vehicle","_key","_vehname","_position","_checkkey","_sign"]; _index = _this select 0; if (_index < 0) exitWith {cutText["\n\nNo Vehicle selected!","PLAIN DOWN"]}; _veh = VehStoredList select _index; _vehicle = _veh select 0; _key = _veh select 1; _Missing = ""; _vehname = getText(configFile >> "cfgVehicles" >> (_vehicle select 0) >> "displayName"); if (_vehicle select 0 isKindOf 'Air') then { _SpawnPats = ["Sr_border"]; _Missing = "Helipad"; } else { _SpawnPats = ["PARACHUTE_TARGET"]; _Missing = "Parking Lot"; }; _helipadsnear = nearestObjects [(getPosATL player),_SpawnPats,50]; if ((count _helipadsnear) < 1) exitWith {cutText["\n\nYou need a "+_Missing+"! Right click on your Toolbox to build one!","PLAIN DOWN"]}; _nearestpad = _helipadsnear select 0; _position = getPosATL _nearestpad; diag_log format ["[Schwede_Debug]: _nearestpad getPos: %1 | _nearestpad getPosATL: %2",(getPos _nearestpad),(getPosATL _nearestpad)]; _checkkey = [player,_key] call BIS_fnc_invAdd; if (!(_checkkey)) exitWith {cutText [(localize "str_epoch_player_107"),"PLAIN DOWN"]}; _sign = createVehicle ["Sign_arrow_down_large_EP1",_position,[],0,"CAN_COLLIDE"]; diag_log format ["[Schwede_Debug]: _sign getPos: %1 | _sign getPosATL: %2",(getPos _sign),(getPosATL _sign)]; _sign setPosATL _position; diag_log format ["[Schwede_Debug]: After setPos | _sign getPos: %1 | _sign getPosATL: %2",(getPos _sign),(getPosATL _sign)]; PVDZE_veh_spawn = [player,_vehicle,_sign,VirtualGarage]; publicVariableServer "PVDZE_veh_spawn"; cutText [format["\n\nYou have successfully spawned a %1, %2 has been added to your toolbelt.",_vehname,getText(configFile >> "CfgWeapons" >> _key >> "displayName")],"PLAIN DOWN"]; sleep 2; call garage_getnearVeh; call garage_getstoredVeh; Since the vehicle is spawning on the same position as the arrow it means we need to set the right spawn position for the arrow, so we need to check the client sided file :) This one is now with diag_log and it should be in client RPT server_spawnVehicle.sqf wll be untouched for now Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 That makes a difference :D Car spawn, arrow in wrong spot (in air): "[Schwede_Debug]: _nearestpad getPos: [4026.54,6905.15,12.3993] | _nearestpad getPosATL: [4026.54,6905.15,12.3993]" "[Schwede_Debug]: _sign getPos: [4026.6,6905.18,12.4053] | _sign getPosATL: [4026.6,6905.18,12.4053]" "[Schwede_Debug]: After setPos | _sign getPos: [4026.6,6905.18,12.4053] | _sign getPosATL: [4026.6,6905.18,12.4053]" Heli spawn, arrow in right spot, spawns below floor: "[Schwede_Debug]: _nearestpad getPos: [4033.47,6920.31,13.4309] | _nearestpad getPosATL: [4033.47,6920.31,13.4309]" "[Schwede_Debug]: _sign getPos: [4033.52,6920.33,-0.0299683] | _sign getPosATL: [4033.52,6920.33,13.4354]" "[Schwede_Debug]: After setPos | _sign getPos: [4033.52,6920.33,-0.0299683] | _sign getPosATL: [4033.52,6920.33,13.4354]" SchwEde 1 Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 ok, im a bit confused about the arrow from the car, but for the heli this files might work for you: also added a bit more debugging to get more details: http://pastebin.com/XHrW50ZN http://pastebin.com/3BMygA7Y Link to comment Share on other sites More sharing options...
0 Guest Posted May 21, 2015 Report Share Posted May 21, 2015 Hey, schwEde. Das Problem ist, dass das haus so ne Unsichtbare Box hat, du musst also irgendwie Pfeil und Fahrzeug "im" Haus spawnen:_sign = createVehicle ["Sign_arrow_down_large_EP1",_position,[],0,"NONE"]; Link to comment Share on other sites More sharing options...
0 SchwEde Posted May 21, 2015 Report Share Posted May 21, 2015 jub, aber: "CAN_COLLIDE"creates the vehicle exactly where asked, not checking if others objects can cross its 3D model. Das ist schon das richtige mit Can_Collide. Ich hab da noch ein paar weitere Vermutungen, kommt nur drauf an wie lange er das so rumtesten will ^^ Die Lösung werde ich schon finden, ist nur lästig über eine Person das zu machen, da es halt etwas Zeitraubend ist im Prinzip und er ja nicht unbedingt weiß welche Informationen wichtig sind zum weiter geben. Aber es wird schon noch laufen :) Link to comment Share on other sites More sharing options...
0 cen Posted May 21, 2015 Report Share Posted May 21, 2015 Ok heli now works correctly on both spawn points. Car arrow is still in the air. "[Schwede_Debug]: _nearestpad getPos: [4026.54,6905.15,12.3993] | _nearestpad getPosATL: [4026.54,6905.15,12.3993]" "[Schwede_Debug]: _sign getPos: [4026.6,6905.18,12.4053] | _sign getPosATL: [4026.6,6905.18,12.4053]" "[Schwede_Debug]: Objects nearby: [148ed600# 1057417: metal_floor.p3d REMOTE,4ef98100# 1057418: metal_floor.p3d REMOTE,2d142400# 1057754: misc_cargo_cont_small_ep1.p3d REMOTE,2d13c100# 1057750: sign_one_leg_h.p3d REMOTE,2d142b00# 1057753: heli_h_cross.p3d REMOTE,148edd00# 1057416: metal_floor.p3d REMOTE,148ef900# 1057412: metal_floor.p3d REMOTE,2dae2400# 1057420: metal_floor.p3d REMOTE,376fb900# 1057422: metal_floor.p3d REMOTE,148eeb00# 1057414: metal_floor.p3d REMOTE,148ee400# 1057415: metal_floor.p3d REMOTE,2dae1d00# 1057419: metal_floor.p3d REMOTE,27de0100# 1057411: metal_floor.p3d REMOTE,376fab00# 1057424: metal_floor.p3d REMOTE,376fa400# 1057425: metal_floor.p3d REMOTE,376f9d00# 1057426: metal_floor.p3d REMOTE,2dae1600# 1057421: metal_floor.p3d REMOTE,376fb200# 1057423: metal_floor.p3d REMOTE,B 1-1-B:1 (CEN),2d141d00# 1057755: sr_border.p3d REMOTE,2d143200# 1057752: sr_border.p3d REMOTE,2d143900# 1057751: misc_cargo_cont_small_ep1.p3d REMOTE,1058366: honeybee.p3d,1058334: honeybee.p3d,1058361: fly.p3d,1 "[Schwede_Debug]: _nearestpad getPos: [4033.47,6920.31,13.4309] | _nearestpad getPosATL: [4033.47,6920.31,13.4309]" "[Schwede_Debug]: _sign getPos: [4033.52,6920.33,-0.0299683] | _sign getPosATL: [4033.52,6920.33,13.4354]" "[Schwede_Debug]: Objects nearby: [148ed600# 1057417: metal_floor.p3d REMOTE,4ef98100# 1057418: metal_floor.p3d REMOTE,2d142400# 1057754: misc_cargo_cont_small_ep1.p3d REMOTE,2d13c100# 1057750: sign_one_leg_h.p3d REMOTE,2d142b00# 1057753: heli_h_cross.p3d REMOTE,148ef900# 1057412: metal_floor.p3d REMOTE,2dae2400# 1057420: metal_floor.p3d REMOTE,376fb900# 1057422: metal_floor.p3d REMOTE,148eeb00# 1057414: metal_floor.p3d REMOTE,148ee400# 1057415: metal_floor.p3d REMOTE,148edd00# 1057416: metal_floor.p3d REMOTE,2dae1d00# 1057419: metal_floor.p3d REMOTE,27de0100# 1057411: metal_floor.p3d REMOTE,376fab00# 1057424: metal_floor.p3d REMOTE,376fa400# 1057425: metal_floor.p3d REMOTE,376f9d00# 1057426: metal_floor.p3d REMOTE,2dae1600# 1057421: metal_floor.p3d REMOTE,376fb200# 1057423: metal_floor.p3d REMOTE,313b90c0# 1058395: 350z.p3d REMOTE,B 1-1-B:1 (CEN),2d141d00# 1057755: sr_border.p3d REMOTE,2d143200# 1057752: sr_border.p3d REMOTE,2d143900# 1057751: misc_cargo_cont_small_ep1.p3d REMOTE,1058431: fly.p3d,1058428: f Cannot create non-ai vehicle c_grasstall, "[Schwede_Debug]: _nearestpad getPos: [4041.47,6902.82,0.0306091] | _nearestpad getPosATL: [4041.47,6902.82,6.08643]" "[Schwede_Debug]: _sign getPos: [4041.47,6902.82,6.08643] | _sign getPosATL: [4041.47,6902.82,12.1422]" "[Schwede_Debug]: Objects nearby: [148ed600# 1057417: metal_floor.p3d REMOTE,4ef98100# 1057418: metal_floor.p3d REMOTE,B 1-1-B:1 (CEN),2d142400# 1057754: misc_cargo_cont_small_ep1.p3d REMOTE,2d13c100# 1057750: sign_one_leg_h.p3d REMOTE,1058638: aglais_urticae_e.p3d,1058704: honeybee.p3d,1058703: honeybee.p3d,1058751: cl_grass1.p3d,1058760: cl_feathers2.p3d,1058767: cl_feathers2.p3d,1058772: cr_leaf2.p3d,1058779: honeybee.p3d,1058786: cl_grass1.p3d,1058790: cl_grass1.p3d,1058791: honeybee.p3d,1058800: cr_leaf2.p3d,1058803: cl_rock1.p3d,1058807: cr_leaf2.p3d,1058812: cr_leaf2.p3d,1058813: cl_feathers2.p3d,1058815: cl_grass1.p3d,1058820: cr_leaf2.p3d,1058821: cr_leaf2.p3d,1058824: cr_leaf2.p3d,1058825: cl_grass2.p3d,1058827: cl_grass2.p3d,2d142b00# 1057753: heli_h_cross.p3d REMOTE,4b592080# 1058486: uh1h.p3d REMOTE,148ee400# 1057415: metal_floor.p3d REMOTE,376fb900# 1057422: metal_floor.p3d REMOTE,2dae2400# 1057420: metal_floor.p3d REMOTE,148edd00# 1057416: metal_floor.p3d REMOTE,148ef900# 1057412: metal_floor. "[Schwede_Debug]: _nearestpad getPos: [4026.54,6905.15,12.3993] | _nearestpad getPosATL: [4026.54,6905.15,12.3993]" "[Schwede_Debug]: _sign getPos: [4026.6,6905.18,12.4053] | _sign getPosATL: [4026.6,6905.18,12.4053]" "[Schwede_Debug]: Objects nearby: [148ed600# 1057417: metal_floor.p3d REMOTE,4ef98100# 1057418: metal_floor.p3d REMOTE,B 1-1-B:1 (CEN),2d142400# 1057754: misc_cargo_cont_small_ep1.p3d REMOTE,2d13c100# 1057750: sign_one_leg_h.p3d REMOTE,1058638: aglais_urticae_e.p3d,1058704: honeybee.p3d,1058779: honeybee.p3d,1058892: honeybee.p3d,1058893: honeybee.p3d,1058918: cl_grass2.p3d,1058906: cl_feathers2.p3d,1058886: cl_feathers2.p3d,1058922: fly.p3d,1058926: cl_feathers2.p3d,1058895: cl_grass1.p3d,1058929: cl_feathers2.p3d,2e48f040# 1058868: uh1y.p3d REMOTE,2d142b00# 1057753: heli_h_cross.p3d REMOTE,4b592080# 1058486: uh1h.p3d REMOTE,2dae2400# 1057420: metal_floor.p3d REMOTE,148edd00# 1057416: metal_floor.p3d REMOTE,148ef900# 1057412: metal_floor.p3d REMOTE,376fb900# 1057422: metal_floor.p3d REMOTE,148ee400# 1057415: metal_floor.p3d REMOTE,148eeb00# 1057414: metal_floor.p3d REMOTE,2dae1d00# 1057419: metal_floor.p3d REMOTE,376fa400# 1057425: metal_floor.p3d REMOTE,376f9d00# 1057426: metal_floor.p3d REMOTE,2dae1600# 1 "[Schwede_Debug]: _nearestpad getPos: [4484.12,6476.29,11.6302] | _nearestpad getPosATL: [4484.12,6476.29,11.6302]" "[Schwede_Debug]: _nearestpad getPos: [4484.12,6476.29,11.6302] | _nearestpad getPosATL: [4484.12,6476.29,11.6302]" "[Schwede_Debug]: _sign getPos: [4484.17,6476.34,-0.0306702] | _sign getPosATL: [4484.17,6476.34,11.6369]" "[Schwede_Debug]: Objects nearby: [30f85600# 212580: housev_2i.p3d,2e2a2400# 1059887: dummyweapon.p3d,3229eb00# 212842: ind_workshop01_04.p3d,3229f900# 212559: shed_m01.p3d,3229f200# 212576: psi_bouda.p3d,2e2a3900# 1059885: dummyweapon.p3d,2e2a3200# 1059888: dummyweapon.p3d,2e2a2b00# 1059886: dummyweapon.p3d,1060521: cl_feathers2.p3d,30f86b00# 212606: ind_tanksmall2.p3d,30f87200# 212607: shed_m03.p3d,2d13c800# 1057749: heli_h_cross.p3d REMOTE,27de1600# 1057408: metal_floor.p3d REMOTE,27de0f00# 1057409: metal_floor.p3d REMOTE,27de0800# 1057410: metal_floor.p3d REMOTE,212771: powlines_woodl.p3d,2f969d00# 212538: housev2_02_interier.p3d,401e6080# 1057757: uh1y.p3d REMOTE,27ddcf00# 1057400: metal_floor.p3d REMOTE,27ddd600# 1057399: metal_floor.p3d REMOTE,27ddeb00# 1057396: metal_floor.p3d REMOTE,27dddd00# 1057398: metal_floor.p3d REMOTE,27ddf200# 1057395: metal_floor.p3d REMOTE,27ddc800# 1057401: metal_floor.p3d REMOTE,27ddc100# 1057402: metal_floor.p3d REMOTE,27dde400# 1057397: metal_floor.p3d REMOTE,2a8d1d00# "[Schwede_Debug]: _nearestpad getPos: [4484.12,6476.29,11.6302] | _nearestpad getPosATL: [4484.12,6476.29,11.6302]" "[Schwede_Debug]: _sign getPos: [4484.17,6476.34,-0.0306702] | _sign getPosATL: [4484.17,6476.34,11.6369]" "[Schwede_Debug]: Objects nearby: [30f85600# 212580: housev_2i.p3d,2e2a2400# 1059887: dummyweapon.p3d,3229eb00# 212842: ind_workshop01_04.p3d,3229f900# 212559: shed_m01.p3d,3229f200# 212576: psi_bouda.p3d,2e2a3900# 1059885: dummyweapon.p3d,2e2a3200# 1059888: dummyweapon.p3d,2e2a2b00# 1059886: dummyweapon.p3d,1060601: cl_feathers2.p3d,30f86b00# 212606: ind_tanksmall2.p3d,30f87200# 212607: shed_m03.p3d,2d13c800# 1057749: heli_h_cross.p3d REMOTE,27de1600# 1057408: metal_floor.p3d REMOTE,27de0f00# 1057409: metal_floor.p3d REMOTE,27de0800# 1057410: metal_floor.p3d REMOTE,212771: powlines_woodl.p3d,2f969d00# 212538: housev2_02_interier.p3d,27ddcf00# 1057400: metal_floor.p3d REMOTE,27ddd600# 1057399: metal_floor.p3d REMOTE,27ddf200# 1057395: metal_floor.p3d REMOTE,27ddeb00# 1057396: metal_floor.p3d REMOTE,27dddd00# 1057398: metal_floor.p3d REMOTE,27ddc100# 1057402: metal_floor.p3d REMOTE,27dde400# 1057397: metal_floor.p3d REMOTE,27ddc800# 1057401: metal_floor.p3d REMOTE,2a8d2b00# 1059893: dummyweapon.p3d,2a8d1d00# Server RPT: 15:24:12 "[Schwede_Debug]: _class: 350z_gold | _object getPos: [4026.68,6905.22,12.4196] | _object getPosATL: [4026.68,6905.22,12.4126]" 15:24:12 "[Schwede_Debug]: _class: 350z_gold | _object getPos: [4026.68,6905.22,12.4196] | _object getPosATL: [4026.68,6905.22,12.4126]" 15:24:21 "[Schwede_Debug]: _class: UH1H_DZE | _object getPos: [4033.68,6920.41,-0.0343628] | _object getPosATL: [4033.68,6920.41,13.4487]" 15:24:21 "[Schwede_Debug]: _class: UH1H_DZE | _object getPos: [4033.68,6920.41,-0.0343628] | _object getPosATL: [4033.68,6920.41,13.4487]" 15:24:38 "[Schwede_Debug]: _class: UH1Y_DZE | _object getPos: [4041.47,6902.82,6.08658] | _object getPosATL: [4041.47,6902.82,12.1422]" 15:24:38 "[Schwede_Debug]: _class: UH1Y_DZE | _object getPos: [4041.47,6902.82,0.0307617] | _object getPosATL: [4041.47,6902.82,6.08643]" 15:24:45 "[Schwede_Debug]: _class: 350z_gold | _object getPos: [4026.68,6905.22,12.4196] | _object getPosATL: [4026.68,6905.22,12.4126]" 15:24:45 "[Schwede_Debug]: _class: 350z_gold | _object getPos: [4026.68,6905.22,12.4196] | _object getPosATL: [4026.68,6905.22,12.4126]" 15:26:09 "[Schwede_Debug]: _class: UH60M_EP1_DZ | _object getPos: [4484.34,6476.51,-0.0391235] | _object getPosATL: [4484.34,6476.51,11.6598]" 15:26:09 "[Schwede_Debug]: _class: UH60M_EP1_DZ | _object getPos: [4484.34,6476.51,-0.0391235] | _object getPosATL: [4484.34,6476.51,11.6598]" 15:26:23 "[Schwede_Debug]: _class: UH1H_DZE | _object getPos: [4484.32,6476.49,-0.0373535] | _object getPosATL: [4484.32,6476.49,11.657]" 15:26:23 "[Schwede_Debug]: _class: UH1H_DZE | _object getPos: [4484.32,6476.49,-0.0373535] | _object getPosATL: [4484.32,6476.49,11.657]" SchwEde 1 Link to comment Share on other sites More sharing options...
Question
joe_candy
Hey, i can't find my error, so i hope you could help me...
I try to use two different spawnpoints for Air and Land vehicle with two different "helipads".
"HeliHCivil" -> air vehicle
"Sr_border" -> land vehicle
i try some different codes at the "getvehicle.sqf" but nothing works.
RPT don't log some errors, so i don't know where i could find my error.
Try this code
original getvehicle.sqf
Link to comment
Share on other sites
Top Posters For This Question
37
27
27
3
Popular Days
May 21
33
May 18
26
May 19
19
May 20
14
Top Posters For This Question
SchwEde 37 posts
cen 27 posts
Buck0 27 posts
joe_candy 3 posts
Popular Days
May 21 2015
33 posts
May 18 2015
26 posts
May 19 2015
19 posts
May 20 2015
14 posts
Popular Posts
SchwEde
Can you Display what vehicle is? if it's an array ["VehicleName"] then try it with _vehicle select 0 isKindOf 'Air'
SchwEde
ok give some time, i will have a closer look on this then EDIT: Ok, i can only give guessings, because im not really able to test this, so you guys have to give me some ouput from this ^^ any
SchwEde
what about the changed server_spawnvehicle.sqf? any results with it? what about the output in the Rpt? ( search for "Schwede")
103 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now