2018-09-17 19:19:29 +00:00
|
|
|
#include "script_component.hpp"
|
2016-09-04 19:33:07 +00:00
|
|
|
/*
|
|
|
|
* Author: BaerMitUmlaut
|
|
|
|
* Initializes the module settings.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: Module <OBJECT>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
2017-06-08 13:31:51 +00:00
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [MODULE] call ace_advanced_fatigue_fnc_moduleSettings
|
|
|
|
*
|
|
|
|
* Public: No
|
2016-09-04 19:33:07 +00:00
|
|
|
*/
|
|
|
|
params ["_logic"];
|
|
|
|
|
|
|
|
[_logic, QGVAR(enabled), "Enabled"] call EFUNC(common,readSettingFromModule);
|
|
|
|
[_logic, QGVAR(performanceFactor), "PerformanceFactor"] call EFUNC(common,readSettingFromModule);
|
|
|
|
[_logic, QGVAR(recoveryFactor), "RecoveryFactor"] call EFUNC(common,readSettingFromModule);
|
|
|
|
[_logic, QGVAR(loadFactor), "LoadFactor"] call EFUNC(common,readSettingFromModule);
|
|
|
|
[_logic, QGVAR(terrainGradientFactor), "TerrainGradientFactor"] call EFUNC(common,readSettingFromModule);
|