2015-01-16 08:13:29 +00:00
|
|
|
/*
|
|
|
|
* Author: KoffeinFlummi
|
|
|
|
*
|
|
|
|
* Initializes the blue force tracking module.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* Whatever the module provides. (I dunno.)
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
if !(hasInterface) exitWith {};
|
|
|
|
|
2015-04-18 03:40:37 +00:00
|
|
|
PARAMS_3(_logic,_units,_activated);
|
2015-01-16 08:13:29 +00:00
|
|
|
|
|
|
|
if !(_activated) exitWith {};
|
|
|
|
|
2015-06-21 02:46:55 +00:00
|
|
|
[_logic, QGVAR(BFT_Enabled), "Enabled"] call EFUNC(common,readSettingFromModule);
|
2015-02-03 05:53:02 +00:00
|
|
|
[_logic, QGVAR(BFT_Interval), "Interval"] call EFUNC(common,readSettingFromModule);
|
|
|
|
[_logic, QGVAR(BFT_HideAiGroups), "HideAiGroups"] call EFUNC(common,readSettingFromModule);
|
2015-01-16 08:13:29 +00:00
|
|
|
|
|
|
|
diag_log text "[ACE]: Blue Force Tracking Module initialized.";
|
2015-06-21 02:46:55 +00:00
|
|
|
TRACE_2("[ACE]: Blue Force Tracking Module initialized.", GVAR(BFT_Interval), GVAR(BFT_HideAiGroups));
|