kommt bei 124 ein ; rein ?
Beiträge von Roy Hawk
-
-
Code
Alles anzeigenscriptName "fn_startConvoy"; /*-------------------------------------------------------------------- Author: Maverick (ofpectag: MAV) File: fn_startConvoy.sqf <Maverick Applications> Written by Maverick Applications (www.maverick-apps.de) You're not allowed to use this file without permission from the author! --------------------------------------------------------------------*/ #define __filename "fn_startConvoy.sqf" _class = param[0,"",[""]]; // Exception if (_class == "") exitWith {}; // Markers mav_convoy_markersleft = (getArray(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> _class >> "Route" >> "markers")); // Make current class public mav_convoy_class = _class; // Get vehicles mav_convoy_vehicles = []; mav_convoy_vehiclesArray = getArray(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> _class >> "Vehicles" >> "vehiclesInOrder"); { _marker = (getArray(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> _class >> "Vehicles" >> "vehiclesSpawnMarkersInOrder")) select _forEachIndex; _dir = if (getNumber(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> _class >> "Vehicles" >> "vehiclesInheritDirection") == 1) then { markerDir _marker } else { 0 }; _v = ([getMarkerPos _marker, _dir, _x, WEST] call BIS_fnc_spawnVehicle) select 0; mav_convoy_vehicles pushBack _v; // Clear vehicles from unwanted items clearWeaponCargoGlobal _v; clearItemCargoGlobal _v; clearBackpackCargoGlobal _v; clearMagazineCargoGlobal _v; } forEach mav_convoy_vehiclesArray; // Clear vehicle inventories {clearItemCargo _x; clearWeaponCargo _x; clearMagazineCargo _x} forEach mav_convoy_vehicles; // Display messages? if ((getNumber(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> _class >> "Messages" >> "enabled")) == 1) then { _header = getText(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> _class >> "Messages" >> "startAnnouncementHeader"); _text = getText(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> _class >> "Messages" >> "startAnnouncementDescription"); (parseText format ["<t color='#ff0000' size='1.4' shadow='2' align='center'>%1</t><br/><br/>%2", _header, _text]) remoteExec ["hint"]; }; // Fetch main vehicle mav_convoy_mainVehicleIndex = (getNumber(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> _class >> "Vehicles" >> "mainVehicleAtIndex")); mav_convoy_mainVehicle = mav_convoy_vehicles select mav_convoy_mainVehicleIndex; // Create marker if necessary if ((getNumber(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> _class >> "MapConfiguration" >> "showMapMarker")) == 1) then { [mav_convoy_mainVehicle] spawn mav_convoy_fnc_createMarker; }; // Fetch all mission objects and lock vehicles for players mav_convoy_allMissionObjects = mav_convoy_vehicles; { mav_convoy_allMissionObjects = mav_convoy_allMissionObjects + (crew _x); _x setVehicleLock "LOCKEDPLAYER"; } forEach mav_convoy_vehicles; // Fetch how many additional units there should be, put them in their vehicles and give them their gear _unitCount = getNumber(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> mav_convoy_class >> "Vehicles" >> "additionalUnitsAmount"); { while {_unitCount > 0 AND (_x emptyPositions "Cargo") > 0} do { _unit = (group _x) createUnit ["B_Competitor_F", position _x, [], 0, "FORM"]; _unit moveInCargo _x; _unitCount = _unitCount - 1; mav_convoy_allMissionObjects pushBack _unit; }; } forEach mav_convoy_vehicles; // Fetch max speed mav_convoy_maxSpeed = getNumber(missionConfigFile >> "Maverick_ConvoySidemission" >> "ConvoyConfigurationsPool" >> _class >> "Vehicles" >> "maxSpeed"); // Fetch max overall distance mav_convoy_maxLeadingAndMainVehDistance = if (mav_convoy_mainVehicleIndex > 0) then {mav_convoy_mainVehicleIndex * 100} else {100}; // Give all units their skill level _skillArray = getArray(missionConfigFile >> "Maverick_ConvoySidemission" >> "Config" >> "AIDifficulty"); { if (_x isKindOf "Man") then { _man = _x; { _man setSkill _x; } forEach _skillArray; // Give unit loadout [_man] call mav_convoy_fnc_giveUnitLoadout; }; } forEach mav_convoy_allMissionObjects; // If this client has the indicator scripts, enable the warn indicators if (isClass (missionConfigFile >> "Maverick_Indicators")) then { { [_x, "warn"] remoteExec ["mav_indicator_fnc_enableIndicator"]; } forEach mav_convoy_vehicles; }; // TODO Give units their equipment // Enable handlers for all players that make the AI go attack them //[mav_convoy_allMissionObjects] remoteExec ["mav_convoy_fnc_addTriggerHandlers", 0, mav_convoy_mainVehicle]; { _x addMPEventHandler ["MPHit",{[_this select 1] spawn mav_convoy_fnc_checkUnit;}]; } forEach mav_convoy_allMissionObjects; // Init follow script _vehicleBeforeMe = objNull; _firstVeh = true; { if (_firstVeh) then { _thread = [_x,objNull] spawn mav_convoy_fnc_follow; _x setVariable ["mav_convoy_vehiclethread",_thread]; _vehicleBeforeMe = _x; _firstVeh = false; } else { _thread = [_x, _vehicleBeforeMe] spawn mav_convoy_fnc_follow; _x setVariable ["mav_convoy_vehiclethread",_thread]; _vehicleBeforeMe = _x; }; } forEach mav_convoy_vehicles; // Init main script mav_convoy_currentscriptthread = [mav_convoy_vehicles, mav_convoy_markersleft] spawn mav_convoy_fnc_move;
-
hmm keine Ahnung was da falsch sein soll !
-
Kann eigentlich nicht sein da ich das bevor ich den Convoy eingefügt hatte auch schon war. aber fix mal eben!
-
noch zu erwähnen wäre ich nutze InfiStar und da kann ich auch nicht reviven. Ich habe es auch schon ausgeschalten um zu sehen ob es daher kommt aber war nix !
die Sringtable geschichten fixe ich gleich noch! -
Ja ist die 4.4 R3 Version ind der Config habe ich natürlich was verändert. Ich habe einiges auf true gestellet und halt paycheck und so eingestellt ich sende mal Logs. Moment!
-
ja leider!
Wenn man stirbt/gelootet wird und dann wiederbelebt wird hat man wieder seine ganzes Gear! -
Hallo alle
kämpfe leider mit diesem Problem !
Kann mir wer Helfen ?clientlog
Code21:45:14 WARNING: Function 'name' - Tom Starsky is dead 21:45:14 WARNING: Function 'name' - Tom Starsky is dead 21:45:17 WARNING: Function 'name' - Tom Starsky is dead 21:45:18 WARNING: Function 'name' - Tom Starsky is dead 21:45:42 Duplicate weapon Throw detected for C_man_1 21:45:42 Duplicate weapon Put detected for C_man_1
-
-
Hallo alle wollte mal fragen wie ich Air und car Garage in einen NPC packen kann und nicht 2 Scrollmenus bekomme.
Code
Alles anzeigen*//AirGarage this addAction[localize""STR_Garage_Title"", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,""Air"",player] remoteExecCall [""HC_fnc_getVehicles"",HC_Life]; } else { [getPlayerUID player,playerSide,""Air"",player] remoteExecCall [""TON_fnc_getVehicles"",2];}; life_garage_type = ""Air""; createDialog ""Life_impound_menu""; disableSerialization; ctrlSetText[2802,""Fetching Vehicles....""]; life_garage_sp = ""air_g_1""; }]; *//Car Garage this addAction[localize""STR_MAR_Store_vehicle_in_Garage"",life_fnc_storeVehicle,"""",0,false,false,"""",'!life_garage_store'];this addAction[localize""STR_Garage_Title"", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""HC_fnc_getVehicles"",HC_Life]; } else { [getPlayerUID player,playerSide,""Car"",player] remoteExecCall [""TON_fnc_getVehicles"",2];}; life_garage_type = ""Car""; createDialog ""Life_impound_menu""; disableSerialization; ctrlSetText[2802,""Fetching Vehicles....""]; life_garage_sp = ""air_g_1""; }];";
-
-
Habe mir dieses Auktionhaus eingebaut und bekomme eine Fehler wo ich nicht ganz versteh was ich ändern muss!
Code10:45:17 Error in expression <,"TON_fnc_vAH_update",false,false] call life_fnc_MP; hint "Auction Successfully > 10:45:17 Error position: <life_fnc_MP; hint "Auction Successfully > 10:45:17 Error Nicht definierte Variable in Ausdruck: life_fnc_mp 10:45:17 File mpmissions\__CUR_MP.Altis\core\vAH\fn_vAH_sell.sqf, line 88
Den erste Fehler konnte ich selber fixen war donater zu donorlevel fehler.
Doch bei dem stehe ich auf dem schlauch. -
Ja lassen wir es !!
@all Sorry für meine Direkte Frage!Danke dir werde mich da reinlesen.
-
ja gut dass mag warscheinlich komplex sein. Fragen kost ja nix und er greift mich hier einfach so an!
Es ist nicht jeder ein Studi oder so.
Ich z.B. bin einer der Häuser baut und Handwerker ist, denke nicht das er fähig ist eine Haus zu bauen.
Jeder hat seine Fähigkeiten oder ?
Darum muss man nicht gleich so reinschiessen finde ich auch unverschämt.
Naja vieleicht hatte er einen schlechten Tag gibts auch mal.Könnt Ihr mir dann ev. Lektüren sagen wo man sowas erlernen könnte ?
-
Super habs hinbekommen! Danke !
-
Was ist den bitte daran unverschämt ? Stell dir vor es gibt Leute sind nicht so Fit im Scripten!
-
ok danke das mit dem mark hab ich auch erst jetzt gemerkt werde ich gleich ma fixen !
-
-
Och schade! Das wäre aber mal ein Tutorialwunsch oder!!!
-
werde ich heute Abend liefern !