ACE3/addons/hearing/functions/fnc_moduleHearing.sqf

20 lines
414 B
Plaintext
Raw Normal View History

/*
2015-03-24 04:18:00 +00:00
* Author: esteldunedain
2015-07-11 02:30:47 +00:00
* Initializes the Hearing module.
*
* Arguments:
* Whatever the module provides. (I dunno.)
*
* Return Value:
* None
*/
#include "script_component.hpp"
2015-04-18 03:40:37 +00:00
PARAMS_3(_logic,_units,_activated);
if !(_activated) exitWith {};
[_logic, QGVAR(enableCombatDeafness), "EnableCombatDeafness"] call EFUNC(common,readSettingFromModule);
2015-07-11 02:30:47 +00:00
diag_log text "[ACE]: Hearing Module Initialized.";