blckeagles-revisited-RC/@GMS/addons/custom_server/init/fn_init.sqf
2020-01-29 18:32:43 -05:00

39 lines
1.1 KiB
Plaintext

/*
by Ghostrider [GRG]
Last Modified 3/14/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
///////////////////////////////////////////////
// prevent the system from being started twice
//////////////////////////////////////////////
if !(isNil "blck_missionSystemRunning") exitWith {};
blck_missionSystemRunning = true;
/////////////////////////////////////////////
// Run the initialization routinge
////////////////////////////////////////////
if (isServer) then
{
[] execVM "\q\addons\custom_server\init\blck_init_server.sqf";
};
if (!isServer && !hasInterface) then
{
diag_log format["Loading blackeagls for headless clients"];
[] execVM "\q\addons\custom_server\init\blck_init_HC.sqf";
};
/*
TODO
Check patrol radius for Air units, Ship units, land vehicle units, and infantry, both static and dynamically spawned.
*/