Maybe addPVEH needs to be scheduled...

This commit is contained in:
eraser1 2015-09-03 01:44:56 -05:00
parent f2d797e172
commit 46af5cf997

View File

@ -15,17 +15,24 @@ EAST setFriend[RESISTANCE,0];
EAST setFriend[WEST,0];
WEST setFriend[EAST,0];
"DMS_HC_INIT" addPublicVariableEventHandler
_code =
{
DMS_HC_Object = _this select 1 select 0;
diag_log format ["DMS Headless Client :: DMS_HC_Object = %1 | serverTime: %2",DMS_HC_Object,(_this select 1 select 1)];
"DMS_HC_INIT" addPublicVariableEventHandler
{
DMS_HC_Object = _this select 1 select 0;
diag_log format ["DMS Headless Client :: DMS_HC_Object = %1 | serverTime: %2",DMS_HC_Object,(_this select 1 select 1)];
};
};
[0, _code, [], false] call ExileServer_system_thread_addTask;
if(DMS_StaticMission) then {
if(DMS_StaticMission) then
{
call compileFinal preprocessFileLineNumbers "\x\addons\dms\static\static_init.sqf";//<---- TODO
};
if (DMS_DynamicMission) then {
if (DMS_DynamicMission) then
{
call compileFinal preprocessFileLineNumbers "\x\addons\dms\missions\mission_init.sqf";
execFSM "\x\addons\dms\FSM\missions.fsm";
};