Question regarding DayZ Chernarus Mission System

Add
Code:
fnc_hTime = compile preprocessFile "\z\addons\dayz_server\Missions\misc\fnc_hTime.sqf"; //Random integer selector for mission wait time
Under
Code:
server_spawnEvents

and
Code:
if (_object getVariable "Mission" == 1) exitWith {};
under
Code:
if ((typeName _objectID != "string") || (typeName _uid != "string")) then
{
    diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
    //force fail
    _objectID = "0";
    _uid = "0";
};

Rest of it is relatively the same.
 
Hiya another question, the server_cleanup.fsm "if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n" im not seening in the file at all any ideas?
 
You need to edit the line under the "Killing a Hacker" area.

It needs to look like this:
Code:
      "    if(vehicle _x != _x && (vehicle _x getVariable [""Mission"",0] != 1) && !(vehicle _x in _safety) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
 
You would need to adjust that in the addMarkers and addMarkers75 for the two missions.

You would change the brush and size I believe.

Code:
//Created by Falcyn [QF]
    _MainMarker = createMarker ["MainMarker", Ccoords];
    _MainMarker setMarkerColor "ColorGreen";
    _MainMarker setMarkerShape "ELLIPSE";
    _MainMarker setMarkerBrush "Grid";
    _MainMarker setMarkerSize [175,175];
 
Back
Top