Moin Moin,
ich habe folgendes Problem, ich habe in meinem Spawnmenü die Städte wo ich spawnen kann, aber ich spawme relativ weit unten links, obwohl da keine Mapmaker, mit dem Variablen aus der Config_Spawnpoints.
RPT log im Anhang
Schön, dass du den Weg zu NodeZone.net gefunden hast! Aktuell bist du nicht angemeldet und kannst deshalb nur eingeschränkt auf unsere Community zugreifen. Um alle Funktionen freizuschalten, spannende Inhalte zu entdecken und dich aktiv einzubringen, registriere dich jetzt kostenlos oder melde dich mit deinem Account an.
Moin Moin,
ich habe folgendes Problem, ich habe in meinem Spawnmenü die Städte wo ich spawnen kann, aber ich spawme relativ weit unten links, obwohl da keine Mapmaker, mit dem Variablen aus der Config_Spawnpoints.
RPT log im Anhang
Error in expression <step 0 do {
uiSleep (10 * 30);
_funds = fed_bank getVariable["safe",0];
fed_bank>
Error position: <fed_bank getVariable["safe",0];
fed_bank>
Error Undefined variable in expression: fed_bank
File \life_server\Functions\Systems\fn_federalUpdate.sqf [TON_fnc_federalUpdate], line 11
Hier ist schonmal ein Fehler drinnen. Hast du den Tresor auf der Karte platziert? (fed_bank)
fn_initCiv.sqf einfach das hier ausklammern:
private _altisArray = ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"];
private _tanoaArray = ["Land_House_Small_01_F"];
private _spawnBuildings = [[["Altis", _altisArray], ["Tanoa", _tanoaArray]]] call TON_fnc_terrainSort;
civ_spawn_1 = nearestObjects[getMarkerPos "civ_spawn_1", _spawnBuildings,350];
civ_spawn_2 = nearestObjects[getMarkerPos "civ_spawn_2", _spawnBuildings,350];
civ_spawn_3 = nearestObjects[getMarkerPos "civ_spawn_3", _spawnBuildings,350];
civ_spawn_4 = nearestObjects[getMarkerPos "civ_spawn_4", _spawnBuildings,350];
Danke für eure Antworten!
Ich werde es testen!
Ich habe mal eben nachgeschaut, aber diese Codes gibt es bei mir in der InitCiv.sqf nicht...
Wüsstest du wo das sein könnte?
Aber das hast du oder?
civ_spawn_1 = nearestObjects[getMarkerPos "civ_spawn_1", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250];
civ_spawn_2 = nearestObjects[getMarkerPos "civ_spawn_2", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250];
civ_spawn_3 = nearestObjects[getMarkerPos "civ_spawn_3", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250];
civ_spawn_4 = nearestObjects[getMarkerPos "civ_spawn_4", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250];
Nein, ich lade mal die initciv mal hoch (Dateianhang)
Lakeside_Spawn = nearestObjects[getMarkerPos "Lakeside_Spawn", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250];
Morison_Spawn = nearestObjects[getMarkerPos "Morison_Spawn", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250];
Losdiablos_Spawn = nearestObjects[getMarkerPos "Losdiablos_Spawn", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250];
civ_spawn_4 = nearestObjects[getMarkerPos "civ_spawn_4", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250];
lösch das mal raus