mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
05d30c5573
* convert log macros to cba versions * Add changes to AB * remove obsolete macro
29 lines
516 B
Plaintext
29 lines
516 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
* Module for adjusting the cargo settings
|
|
*
|
|
* Arguments:
|
|
* 0: The module logic <OBJECT>
|
|
* 1: Synchronized units <ARRAY>
|
|
* 2: Activated <BOOL>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* function = "ace_cargo_fnc_loadItem"
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
if (!isServer) exitWith {};
|
|
|
|
params ["_logic", "", "_activated"];
|
|
|
|
if (!_activated) exitWith {};
|
|
|
|
[_logic, QGVAR(enable), "enable"] call EFUNC(common,readSettingFromModule);
|
|
|
|
INFO("Cargo Module Initialized.");
|