Hi again,
EDIT: Found a script called init_initial.sqf that initiates "JIP", is that script read before init.sqf?
Found this in the init.sqf in a really well done MP mission:
// Arma2 - Artificial Dynamic Patrol Intelligence - Cipher - Initialization v1.41(c) Willi Wiper 2009
private["_houses","_house","_dbgArr","_pos","_introMiss"];
if(!JIP)then{
titleCut ["","BLACK IN", 10000];
0 FadeSound 0;
};
enableSentences false;
_pos= [1,1,0];
DBG_MAP= false;
Inject= false;
Cipher_Selection= false;
PercentSign= "%";
execVM "briefing.sqf";
execVM "OptionsFunctions.sqf";
InitCounter=0;
JIP_intro=false;
//execVM "LoadingScreen.sqf";
Sorry if I'm lost here, but how do you check for if(!JIP)?
Don't understand what would run before init.sqf and in OnClientConnect.sqf I only found this:
_name= _this select 0;
_id= _this select 1;
_uid= _this select 2;
if(!isdedicated)then{PLayersConnected= PLayersConnected+1;publicvariable "PLayersConnected";};
if(JIP)then{
publicvariable "TimeSkip";
publicvariable "Cipher_Time";
execVM "SetMarkers.sqf";
JIP_client_ready=false;
JIP_server_ready=true;publicvariable "JIP_server_ready";
waituntil{JIP_client_ready};
// hint format["%1\n joined as\nUnit: %2",_name,JIP_unit];
if(Cipher_Mode>1)then{
JIP_Unit setpos IPos;
};
JIP_server_ready=true;publicvariable "JIP_server_ready";
};
Curious...
Laggy