#include "..\script_component.hpp" //--------------------- // Side Chat //--------------------- [ QGVARMAIN(sideChat), "CHECKBOX", "Side Chat Text Enabled", [QUOTE(SETTINGS_GROUP_NAME), QUOTE(COMPONENT_BEAUTIFIED)], false, // default value true, // requires restart { params ["_value"]; [ QGVARMAIN(sideChat), _value ] call EFUNC(common,logSettingChanged); } ] call CBA_fnc_addSetting; [QGVARMAIN(sideChat), false] call CBA_settings_fnc_set; //--------------------- // Medical Overlay //--------------------- [ "milsim_client_medState3D_enabled", // variable "CHECKBOX", // type ["Enable 3D Triage Card State", "Draws a colored dot over units within 10m indicating current ACE Triage State"], // title ["17th Battalion", "Medical"], // category true // default value ] call CBA_fnc_addSetting; [ "milsim_client_medState3D_drawRange", // variable "LIST", // type ["Range To Draw Icons", "Determines range at which dots are visible"], // title ["17th Battalion", "Medical"], // category [[2, 4, 6, 8, 10], ["2", "4", "6", "8", "10"], 4] // option values, option labels, default index ] call CBA_fnc_addSetting; diag_log text "[MILSIM] (settings) Custom CBA settings initialized"; nil;