ACE3/addons/ui/functions/fnc_setElements.sqf

32 lines
598 B
Plaintext
Raw Normal View History

2015-10-28 22:23:02 +00:00
/*
* Author: Jonpas
* Sets basic visible elements of the UI using showHUD setter.
*
* Arguments:
* 0: Force change even when disallowed <BOOL> (default: false)
2015-10-28 22:23:02 +00:00
*
* Return Value:
* None
*
* Example:
* [false] call ace_ui_fnc_setElements
2015-10-28 22:23:02 +00:00
*
* Public: No
*/
#include "script_component.hpp"
if (isArray (missionConfigFile >> "showHUD")) exitWith {};
params [ ["_force", false, [true]] ];
2016-03-06 11:50:16 +00:00
["ui", [
true,
2015-10-28 22:23:02 +00:00
GVAR(soldierVehicleWeaponInfo),
GVAR(vehicleRadar),
GVAR(vehicleCompass),
true,
2015-10-28 22:23:02 +00:00
GVAR(commandMenu),
GVAR(groupBar),
true
2015-10-28 22:23:02 +00:00
]] call EFUNC(common,showHud);