ACE3/addons/rearm/functions/fnc_moduleRearmSettings.sqf

27 lines
565 B
Plaintext
Raw Normal View History

2015-08-15 16:43:13 +00:00
/*
* Author: GitHawk
* Module for adjusting the refuel settings.
2015-08-15 16:43:13 +00:00
*
* Arguments:
* 0: The module logic <OBJECT>
* 1: Synchronized units <ARRAY>
* 2: Activated <BOOL>
2015-08-15 16:43:13 +00:00
*
* Return Value:
* None
*
* Example;
* function = "ace_rearm_fnc_moduleRearmSettings"
*
2015-08-15 16:43:13 +00:00
* Public: No
*/
#include "script_component.hpp"
2016-02-01 19:05:53 +00:00
params ["_logic", "", ["_activated", false, [false]]];
2015-08-15 16:43:13 +00:00
if (!_activated) exitWith {};
2015-08-15 16:43:13 +00:00
[_logic, QGVAR(level), "level"] call EFUNC(common,readSettingFromModule);
diag_log text format ["[ACE]: Rearm Module Initialized on level: %1", GVAR(level)];