big refactor, WIP!
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
if (!isServer) exitWith {};
|
||||
|
||||
|
||||
// array of all respawn modules in the mission representing "bases"
|
||||
GVARMAIN(baseObjects) = allMissionObjects "ModuleRespawnPosition_F";
|
||||
publicVariable "milsim_baseObjects";
|
||||
|
||||
@@ -16,11 +18,18 @@ publicVariable "milsim_baseObjects";
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
|
||||
missionNamespace setVariable [QGVARMAIN(complete), true];
|
||||
publicVariable QGVARMAIN(complete);
|
||||
|
||||
[
|
||||
LEVEL_INFO,
|
||||
QUOTE(COMPONENT),
|
||||
format["%1: version %2", QGVARMAIN(complete), QUOTE(VERSION_STR)],
|
||||
[["version", QUOTE(VERSION_STR)]]
|
||||
] call EFUNC(util,log);
|
||||
] call EFUNC(common,log);
|
||||
|
||||
publicVariable "milsim_complete";
|
||||
[
|
||||
LEVEL_DEBUG,
|
||||
QUOTE(COMPONENT),
|
||||
"postInit complete",
|
||||
[]
|
||||
] call EFUNC(common,log);
|
||||
Reference in New Issue
Block a user