Add missing function; correct undefined variable error

This commit is contained in:
Chris Cardozo 2019-09-08 17:06:03 -04:00
parent 23e2b61c33
commit 8afb686a43
2 changed files with 3 additions and 7 deletions

View File

@ -58,6 +58,7 @@ diag_log format[
// Reset locality to the server
//diag_log format["_fnc_ai_offloadToClients: setting locality of group %1 to server",_group];
_group setGroupOwner 2;
#ifdef blck_debugMode
if (blck_debugOn) then
{

View File

@ -121,7 +121,8 @@ private _functions = [
//["blck_fnc_sm_AddScubaGroup","\q\addons\custom_server\Compiles\Missions\GMS_fnc_sm_AddScubaGroup.sqf"],
//["blck_fnc_sm_AddSurfaceVehicle","\q\addons\custom_server\Compiles\Missions\GMS_fnc_sm_AddSurfaceVehicle.sqf"],
["blck_fnc_sm_AddSDVVehicle","\q\addons\custom_server\Compiles\Missions\GMS_sm_AddSDVVehicle.sqf"],
["blck_fnc_sm_AddGroupToArray", "\q\addons\custom_server\Missions\Static\Code\GMS_fnc_sm_AddGroupToArray.sqf"],
// Group-related functions
["blck_fnc_spawnGroup","\q\addons\custom_server\Compiles\Groups\GMS_fnc_spawnGroup.sqf"], // Spawn a single group and populate it with AI units]
["blck_fnc_setupWaypoints","\q\addons\custom_server\Compiles\Groups\GMS_fnc_setupWaypoints.sqf"], // Set default waypoints for a group
@ -209,12 +210,6 @@ private _functions = [
missionnamespace setvariable [_name,compileFinal preprocessFileLineNumbers _path];
} foreach _functions;
if (blck_ai_offload_to_client) then
{
publicVariable "blck_fnc_setNextWaypoint";
publicVariable "blck_fnc_changeToMoveWaypoint";
publicVariable "blck_fnc_changeToSADWaypoint";
};
#ifdef GRGserver
blck_fnc_broadcastServerFPS = compileFinal preprocessFileLineNumbers "\q\addons\custom_server\Compiles\Functions\GMS_fnc_broadcastServerFPS.sqf";
diag_log "blck_functions loaded using GRGserver settings ---- >>>> ";