ACE3/addons/cargo/functions/fnc_moduleSettings.sqf

29 lines
523 B
Plaintext
Raw Normal View History

/*
* Author: Glowbal
* Module for adjusting the cargo settings
*
* Arguments:
2015-08-16 20:41:35 +00:00
* 0: The module logic <OBJECT>
* 1: Synchronized units <ARRAY>
* 2: Activated <BOOL>
*
* Return Value:
* None
*
2015-08-16 20:41:35 +00:00
* Example:
* function = "ace_cargo_fnc_loadItem"
*
* Public: No
*/
#include "script_component.hpp"
2015-08-16 20:41:35 +00:00
if (!isServer) exitWith {};
2016-01-19 03:53:48 +00:00
params ["_logic", "", "_activated"];
2015-08-16 20:41:35 +00:00
if (!_activated) exitWith {};
[_logic, QGVAR(enable), "enable"] call EFUNC(common,readSettingFromModule);
2015-08-16 20:41:35 +00:00
ACE_LOGINFO("Cargo Module Initialized.");