mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix params error
This commit is contained in:
parent
dbe4c6ae26
commit
b06659a2e4
@ -9,13 +9,14 @@ class CfgVehicles {
|
||||
isGlobal = 1;
|
||||
icon = QUOTE(PATHTOF(UI\Icon_Module_UI_ca.paa));
|
||||
class Arguments {
|
||||
// BASIC
|
||||
class allowSelectiveUI {
|
||||
displayName = CSTRING(AllowSelectiveUI);
|
||||
description = CSTRING(AllowSelectiveUI_Description);
|
||||
typeName = "BOOL";
|
||||
defaultValue = 1;
|
||||
};
|
||||
|
||||
// BASIC
|
||||
class soldierVehicleWeaponInfo {
|
||||
displayName = CSTRING(SoldierVehicleWeaponInfo);
|
||||
typeName = "BOOL";
|
||||
|
@ -1,4 +1,3 @@
|
||||
//#define DEBUG_MODE_FULL
|
||||
#include "script_component.hpp"
|
||||
|
||||
// Exit on Headless
|
||||
@ -24,7 +23,7 @@ if (!hasInterface) exitWith {};
|
||||
|
||||
// Selective UI Basic
|
||||
if (_name in ELEMENTS_BASIC) then {
|
||||
call FUNC(setElements);
|
||||
[false] call FUNC(setElements);
|
||||
};
|
||||
|
||||
// Selective UI Advanced
|
||||
|
@ -20,7 +20,7 @@ if (isArray (missionConfigFile >> "showHUD")) exitWith {};
|
||||
params [ ["_force", false, [true]] ];
|
||||
|
||||
if (!_force && {!GVAR(allowSelectiveUI)}) exitWith {
|
||||
[LSTRING(Disallowed), 2] call EFUNC(common,displayTextStructured)
|
||||
[LSTRING(Disallowed), 2] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
|
||||
private _shownHUD = shownHUD; // [hud, info, radar, compass, direction, menu, group, cursors]
|
||||
|
Loading…
Reference in New Issue
Block a user