Hi ich werde noch verrückt
Ich habe bereits auf der Map die Marker hospital_2 und hospital_3 entfernt.
In der Init habe ich auch den createVehicle entfernt.
Aber nein nun spawnt das Krankenhaus Unterwasser am Linken unterem Rand.
hat jemand eine idee? habe ich was vergessen?
Code
{
_hs = createVehicle ["Land_Hospital_main_F", [0,0,0], [], 0, "NONE"];
_hs setDir (markerDir _x);
_hs setPosATL (getMarkerPos _x);
_var = createVehicle ["Land_Hospital_side1_F", [0,0,0], [], 0, "NONE"];
_var attachTo [_hs, [4.69775,32.6045,-0.1125]];
detach _var;
_var = createVehicle ["Land_Hospital_side2_F", [0,0,0], [], 0, "NONE"];
_var attachTo [_hs, [-28.0336,-10.0317,0.0889387]];
detach _var;
if (worldName isEqualTo "Tanoa") then {
if (_forEachIndex isEqualTo 0) then {
atm_hospital_2 setPos (_var modelToWorld [4.48633,0.438477,-8.25683]);
vendor_hospital_2 setPos (_var modelToWorld [4.48633,0.438477,-8.25683]);
"medic_spawn_3" setMarkerPos (_var modelToWorld [8.01172,-5.47852,-8.20022]);
"med_car_2" setMarkerPos (_var modelToWorld [8.01172,-5.47852,-8.20022]);
hospital_assis_2 setPos (_hs modelToWorld [0.0175781,0.0234375,-0.231956]);
} else {
atm_hospital_3 setPos (_var modelToWorld [4.48633,0.438477,-8.25683]);
vendor_hospital_3 setPos (_var modelToWorld [4.48633,0.438477,-8.25683]);
"medic_spawn_1" setMarkerPos (_var modelToWorld [-1.85181,-6.07715,-8.24944]);
"med_car_1" setMarkerPos (_var modelToWorld [5.9624,11.8799,-8.28493]);
hospital_assis_2 setPos (_hs modelToWorld [0.0175781,0.0234375,-0.231956]);
};
};
} forEach ["hospital_2","hospital_3"];
Alles anzeigen