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"
|
|
|
|
|
2015-08-11 17:49:39 +00:00
|
|
|
if !(hasInterface) exitWith {};
|
2015-01-16 08:13:29 +00:00
|
|
|
|
2015-08-11 17:49:39 +00:00
|
|
|
PARAMS_3(_logic,_units,_activated);
|
|
|
|
|
|
|
|
if !(_activated) exitWith {};
|
2015-01-16 08:13:29 +00:00
|
|
|
|
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
|
|
|
|
2015-08-26 13:20:11 +00:00
|
|
|
ACE_LOGINFO("Blue Force Tracking Module Initialized.");
|
2015-08-11 17:49:39 +00:00
|
|
|
TRACE_2("[ACE]: Blue Force Tracking Module initialized.", GVAR(BFT_Interval), GVAR(BFT_HideAiGroups));
|