2015-08-08 18:22:19 +00:00
|
|
|
/*
|
|
|
|
* Author: Glowbal
|
|
|
|
* Module for adjusting the medical menu settings
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: The module logic <LOGIC>
|
|
|
|
* 1: units <ARRAY>
|
|
|
|
* 2: activated <BOOL>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None <NIL>
|
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
|
|
|
* [LOGIC, [bob, kevin], true] call ACE_medical_menu_fnc_module
|
|
|
|
*
|
2015-08-08 18:22:19 +00:00
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-10-13 07:01:59 +00:00
|
|
|
params ["_logic", "", "_activated"];
|
2015-08-08 18:22:19 +00:00
|
|
|
|
|
|
|
if !(_activated) exitWith {};
|
|
|
|
|
|
|
|
[_logic, QGVAR(allow), "allow"] call EFUNC(common,readSettingFromModule);
|