ACE3/addons/zeus/functions/fnc_moduleZeusSettings.sqf
SilentSpike c1045e4266 Update vanilla zeus functions (#5888)
* Cleanup zeus module

* Update zeus BI functions

* Restore accidentally removed setting check
2017-12-10 12:29:38 -06:00

29 lines
873 B
Plaintext

/*
* Author: SilentSpike
* Module for adjusting various aspects of zeus
*
* Arguments:
* 0: The module logic <LOGIC>
* 1: units <ARRAY>
* 2: activated <BOOL>
*
* Return Value:
* None
*
* Example:
* [LOGIC, [bob, kevin], true] call ace_zeus_fnc_moduleZeusSettings
*
* Public: No
*/
#include "script_component.hpp"
params ["_logic"];
[_logic, QGVAR(zeusAscension), "zeusAscension"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(zeusBird), "zeusBird"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(radioOrdnance), "radioOrdnance"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(revealMines), "revealMines"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(remoteWind), "remoteWind"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(autoAddObjects), "autoAddObjects"] call EFUNC(common,readSettingFromModule);