Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
19:15:10 Error in expression < select 0;
_position = getPosATL _unit;
sleep .2;
_unit = [_position, 0.1, 1.5] >
19:15:10 Error position: <sleep .2;
_unit = [_position, 0.1, 1.5] >
19:15:10 Error Generic error in expression
19:15:10 File mpmissions\__cur_mp.chernarus\compile\fn_spawn_deathFlies.sqf, line 8
/*
Usage: [_unit] call fnc_spawn_deathFlies;
*/
// private[""];
_unit = _this select 0;
_position = getPosATL _unit;
sleep .2;
_unit = [_position, 0.1, 1.5] call bis_fnc_flies;
/*
INITILIZATION
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_instance = 1870; //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
//disable greeting menu
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
//enableRadio false;
//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
waitUntil {time > 3};
};
if ((!isServer) && (player != player)) then
{
waitUntil {player == player};
waitUntil {time > 3};
};
zombie_generate = compile preprocessFileLineNumbers "scripts\zombie_generate.sqf";
if (isServer) then {
_factions = [] execVM "scripts\set_unit_faction.sqf";
//diag_log format["Factions executed: %1",_factions];
//Array to pass to .sqf: [[<worldspace>],radius of waypoints (in metres),number of waypoints,number of ai units, group type [0:random unit, 1:sniper, 2:gunner, 3:militiaman, 4:squad], faction [0:hates everyone except survivors, 1:hates everyone]]
_aispawn = [[731.64447, 9446.168],100,5,2,4,0] execVM "scripts\add_unit_server.sqf";//Airport Vatra
};
if (isServer) then {
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};
if (!isDedicated) then {
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
};
Report says there is an error here:
The AI do not respawn, change your restart time to compensate![]()
I got this working but is there anyway to take the radios off of the AI? I run TSW and a few people got kicked at first yesterday for picking them up. I adjusted it but would like to remove them if at all possible.
Also, some places I should have like 2 soldiers there were 4 or 5 then after killing them they seemed to have never spawned back. My server restarts every 12 hours. Do I need to shorten it to 6 to get AI back in the game or what?
A video tutorial would still be nice I have a Day.ST server and would love to add patrolling AI''s to my server and a step by step video tutoril would be nicer than jumping between a bunch of different threads and pages. I'm sorry for being so dumb but I can't follow this at all...bravo my friend. you saved me some valuable time from making my video tutorial.