ACE3/addons/map/functions/fnc_blueForceTrackingModule.sqf

27 lines
665 B
Plaintext
Raw Normal View History

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 {};
GVAR(BFT_Enabled) = true;
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.";
TRACE_2("[ACE]: Blue Force Tracking Module initialized.",GVAR(BFT_Interval), GVAR(BFT_HideAiGroups));