32 lines
840 B
Plaintext
32 lines
840 B
Plaintext
#include "..\script_component.hpp"
|
|
|
|
if (!isServer) exitWith {};
|
|
|
|
// array of all respawn modules in the mission representing "bases"
|
|
GVARMAIN(baseObjects) = allMissionObjects "ModuleRespawnPosition_F";
|
|
publicVariable QGVARMAIN(baseObjects);
|
|
|
|
// Initializes the Dynamic Groups framework and groups
|
|
["Initialize", [true]] call BIS_fnc_dynamicGroups;
|
|
|
|
// initialize other modules
|
|
call EFUNC(common,logMissionInfo);
|
|
call EFUNC(fbcb2_assets,initServer);
|
|
call EFUNC(reinsert,initServer);
|
|
|
|
// declare init complete to other modules
|
|
missionNamespace setVariable [QGVARMAIN(complete), true, true];
|
|
|
|
[
|
|
LEVEL_INFO,
|
|
QUOTE(COMPONENT),
|
|
format["%1: version %2", QGVARMAIN(complete), QUOTE(VERSION_STR)],
|
|
[["version", QUOTE(VERSION_STR)]]
|
|
] call EFUNC(common,log);
|
|
|
|
[
|
|
LEVEL_DEBUG,
|
|
QUOTE(COMPONENT),
|
|
"postInit complete",
|
|
[]
|
|
] call EFUNC(common,log); |