ACE3/addons/nightvision/functions/fnc_initModule.sqf
PabstMirror 4b42eb4385
ST Nightvision Effects (#4694)
* Merge ST Nightvision

* Cleanup

* Header cleanup

* Add ace setting for fog

* Cleanup debug

* Manual merge refuel changes

* Add new setting for effect scaling

* Cleanup

* Use ace_common_fnc_getZoom

* Fix compat inheritance changes

* Fix stringtable

* Add category

* Tidy function headers

* Replace global event with remote event
2017-12-06 13:15:33 -06:00

23 lines
439 B
Plaintext

/*
* Author: BaerMitUmlaut
* Initializes the settings for the disable NVGs in sight module.
*
* Arguments:
* 0: Module <OBJECT>
*
* Return Value:
* None
*
* Example:
* [_module] call ace_nightvision_fnc_initModule
*
* Public: No
*/
#include "script_component.hpp"
params ["_module"];
TRACE_1("initModule",_module);
[_module, QGVAR(disableNVGsWithSights), "disableNVGsWithSights"] call EFUNC(common,readSettingFromModule);