mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
28 lines
596 B
Plaintext
28 lines
596 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* 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:
|
|
* [] call ace_cargo_fnc_moduleSettings
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_logic", "", "_activated"];
|
|
|
|
if (!_activated) exitWith {};
|
|
|
|
[_logic, QGVAR(enable), "enable"] call EFUNC(common,readSettingFromModule);
|
|
[_logic, QGVAR(paradropTimeCoefficent), "paradropTimeCoefficent"] call EFUNC(common,readSettingFromModule);
|
|
|
|
INFO("Cargo Module Initialized.");
|