arma3_missions/helotraining_mp.Altis/init.sqf

21 lines
496 B
Plaintext
Raw Normal View History

// Config constant globals
2016-07-25 17:49:54 +00:00
LZCOUNT = 86;
2016-07-25 21:58:29 +00:00
STARTPRIORITY = 1000;
EXLUDESPAWNLZS = [(missionNamespace getVariable "lz33")]; // Exclude the airport location near spawn marker
2016-07-25 17:49:54 +00:00
// Precompile code
execVM "precompile.sqf";
2016-07-25 17:49:54 +00:00
// We can't run this before
if (isServer) then
{
2016-07-25 21:58:29 +00:00
//Handle MP parameters
_handle = execVM "readparams.sqf";
waitUntil {isNull _handle};
[EXLUDESPAWNLZS] spawn taskSpawner;
2016-07-24 21:01:49 +00:00
};
2016-07-25 17:49:54 +00:00
// Flag init complete
missionInitComplete = true;
2016-07-25 21:58:29 +00:00
publicVariable "missionInitComplete";