add basic mission_settings check w notify in 3den preview

This commit is contained in:
2024-02-13 11:02:42 -08:00
parent 296f945ea3
commit 5114ae334f
6 changed files with 61 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#include "..\script_component.hpp"
if ( !hasInterface ) exitWith {};
if (!hasInterface) exitWith {};
["milsim_logText", {
params [["_strArray", [""], [[]]]];
@@ -14,6 +14,13 @@ waitUntil {!isNil QGVARMAIN(complete)};
["InitializePlayer", [player, true]] call BIS_fnc_dynamicGroups;
// run primary init functions
call FUNC(addAARChatHandler);
call FUNC(addRespawnChatHandler);
call FUNC(setDefaults);
call FUNC(checkMissionSettings);
// Initialize a holder for managing local diary records
// store records in format:
// [subject, [
@@ -34,6 +41,8 @@ call EFUNC(fbcb2_main,initClient);
call EFUNC(fbcb2_assets,initClient);
call FUNC(checkMissionSettings);
[
LEVEL_DEBUG,
QUOTE(COMPONENT),