Setting Cleanup - Make NoRadio global (#5782)

This commit is contained in:
PabstMirror 2017-11-17 16:41:03 -06:00 committed by GitHub
parent a270ca8a99
commit 0672b0da35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 24 deletions

View File

@ -27,7 +27,7 @@ if (hasInterface) then {
}, true] call CBA_fnc_addPlayerEventHandler; }, true] call CBA_fnc_addPlayerEventHandler;
}; };
[QGVAR(enabled), "CHECKBOX", [LSTRING(setting), LSTRING(setting_tooltip)], localize ELSTRING(common,ACEKeybindCategoryCommon), true, nil, { [QGVAR(enabled), "CHECKBOX", [LSTRING(setting), LSTRING(setting_tooltip)], format ["ACE - %1", localize ELSTRING(common,DisplayName)], true, true, {
params ["_enabled"]; params ["_enabled"];
if (_enabled) then { if (_enabled) then {

View File

@ -2,26 +2,6 @@ class CfgVehicles {
class ACE_Module; class ACE_Module;
class ACE_moduleAllowConfigExport: ACE_Module { class ACE_moduleAllowConfigExport: ACE_Module {
scope = 1; scope = 1;
displayName = CSTRING(AllowConfigExport_Module_DisplayName); displayName = "Deprecated ACE Module";
//icon = "";
category = "ACE";
function = QUOTE(DFUNC(moduleAllowConfigExport));
functionPriority = 1;
isGlobal = 1;
isSingular = 1;
isTriggerActivated = 0;
author = ECSTRING(common,ACETeam);
class Arguments {
class allowconfigurationExport {
displayName = CSTRING(AllowConfigExport_allowconfigurationExport_DisplayName);
description = CSTRING(AllowConfigExport_allowconfigurationExport_Description);
typeName = "BOOL";
defaultValue = 1;
};
};
class ModuleDescription {
description = CSTRING(AllowConfigExport_Module_Description);
sync[] = {};
};
}; };
}; };

View File

@ -3,7 +3,7 @@
class CfgPatches { class CfgPatches {
class ADDON { class ADDON {
name = COMPONENT_NAME; name = COMPONENT_NAME;
units[] = {"ACE_moduleAllowConfigExport"}; units[] = {};
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"}; requiredAddons[] = {"ace_common"};

View File

@ -75,7 +75,7 @@ class CfgVehicles {
class VirtualMan_F; class VirtualMan_F;
class GVAR(virtual): VirtualMan_F { class GVAR(virtual): VirtualMan_F {
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
displayName = CSTRING(DisplayName); displayName = CSTRING(Settings_DisplayName);
scope = 2; scope = 2;
scopeArsenal = 0; scopeArsenal = 0;
scopeCurator = 0; scopeCurator = 0;