mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
0e3aeb8767
* add setting to hide freefall altimeter, ref #5596 * warning for changed mid mission
35 lines
607 B
Plaintext
35 lines
607 B
Plaintext
/*
|
|
* Author: Garth 'L-H' de Wet
|
|
* Initialises the parachute system.
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* None
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
ADDON = false;
|
|
|
|
PREP_RECOMPILE_START;
|
|
#include "XEH_PREP.hpp"
|
|
PREP_RECOMPILE_END;
|
|
|
|
[
|
|
QGVAR(hideAltimeter),
|
|
"CHECKBOX",
|
|
[LSTRING(HideAltimeter), LSTRING(HideAltimeter_tooltip)],
|
|
format ["ACE %1", localize ELSTRING(common,DisplayName)],
|
|
true,
|
|
false,
|
|
{[QGVAR(hideAltimeter), _this, false] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call cba_settings_fnc_init;
|
|
|
|
ADDON = true;
|