Hallo liebe NN Community,
ich habe nochmal eine kleine Frage.
Ich habe eine Bohrinsel erstellt wo man das Öl abbauen soll, jedoch habe ich jetzt folgendes Problem.
wenn ich jetzt den Marker oel_feld auf der Bohr Insel setze kann man dort kein Öl abbauen.
Version: 4.4r4
Code
if (isNull _curObject) exitWith {
if (_isWater) then {
_fish = (nearestObjects[player,(LIFE_SETTINGS(getArray,"animaltypes_fish")),3]) select 0;
if (!isNil "_fish") then {
if (!alive _fish) then {
[_fish] call life_fnc_catchFish;
};
};
} else {
_animal = (nearestObjects[player,(LIFE_SETTINGS(getArray,"animaltypes_hunting")),3]) select 0;
if (!isNil "_animal") then {
if (!alive _animal) then {
[_animal] call life_fnc_gutAnimal;
};
} else {
private "_handle";
if (playerSide isEqualTo civilian && !life_action_gathering) then {
_whatIsIt = [] call life_fnc_whereAmI;
if (life_action_gathering) exitWith {};
switch (_whatIsIt) do {
case "mine" : { _handle = [] spawn life_fnc_mine };
default { _handle = [] spawn life_fnc_gather };
};
life_action_gathering = true;
waitUntil {scriptDone _handle};
life_action_gathering = false;
};
};
};
Alles anzeigen
Hab schon vieles getestet Marker höher gesetzt, Plattform von der Bohrinsel weiter runter gesetzt und und und.
Habe mir auch schon beide Beiträge angeschaut im folgende Links: Link 1 Link 2 jedoch konnte auch dieses mir nicht weiterhelfen.
Vielleicht hat ja jemand eine Lösung der schon eine Bohrinsel nutzt. DANKE