mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
26 lines
555 B
Plaintext
26 lines
555 B
Plaintext
/*
|
|
* Author: Ruthberg
|
|
* Shows/Hides the atmosphere and environmental data controls
|
|
*
|
|
* Arguments:
|
|
* visible - <BOOL>
|
|
*
|
|
* Return Value:
|
|
* Nothing
|
|
*
|
|
* Example:
|
|
* false call ace_atragmx_fnc_show_atmo_env_data
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
GVAR(showAtmoEnvData) = _this;
|
|
|
|
{ctrlShow [_x, _this]} forEach [13000, 13001, 13002, 13003, 130030, 13004, 130040, 13005, 130050, 13006, 130060, 13007, 13008, 13009, 13010, 13011];
|
|
|
|
if (_this) then {
|
|
[] call FUNC(update_atmo_selection);
|
|
[] call FUNC(update_atmo_env_data);
|
|
};
|