Compiles more or less done

This commit is contained in:
icomrade
2016-02-27 16:48:21 -05:00
parent 18c9e72e15
commit e418e921c5
3 changed files with 706 additions and 191 deletions

View File

@@ -0,0 +1,21 @@
// Server only
if (isDedicated) then {
achievementNewDB = true; // true = object_data table (1.8.x), false = instance_deployable table (1.7.x)
call compile preprocessFileLineNumbers "\z\addons\dayz_code\achievements\achievementsServer.sqf";
"achievement" addPublicVariableEventHandler {[_this select 1] call achievementServer};
};
// Client only
if (!isDedicated) then {
call compile preprocessFileLineNumbers "\z\addons\dayz_code\achievements\achievements.sqf";
// Allow server events to trigger the OSD
"achievementClientPV" addPublicVariableEventHandler {[_this select 1] call achievementClientMsg};
// Start the mustyMonitor
[] execVM "\z\addons\dayz_code\achievements\achievementsMonitor.sqf";
};