2015-01-11 19:32:51 +00:00
|
|
|
/*
|
|
|
|
* Author: bux578
|
2015-05-09 02:47:15 +00:00
|
|
|
* Initializes the Interaction module
|
2015-01-11 19:32:51 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2015-05-09 02:47:15 +00:00
|
|
|
* 0: Logic <NUMBER>
|
|
|
|
* 1: ???
|
|
|
|
* 2: Activation State <BOOL>
|
2015-01-11 19:32:51 +00:00
|
|
|
*
|
2015-05-09 02:47:15 +00:00
|
|
|
* Return value:
|
2015-01-11 19:32:51 +00:00
|
|
|
* None
|
2015-05-09 02:47:15 +00:00
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [logic, ???, activationState] call ace_interaction_fnc_moduleInteraction
|
|
|
|
*
|
|
|
|
* Public: No
|
2015-01-11 19:32:51 +00:00
|
|
|
*/
|
2015-01-11 23:13:47 +00:00
|
|
|
#include "script_component.hpp"
|
2015-01-11 19:32:51 +00:00
|
|
|
|
|
|
|
_logic = _this select 0;
|
|
|
|
_activated = _this select 2;
|
|
|
|
|
|
|
|
if !(_activated) exitWith {};
|
|
|
|
|
2015-02-03 05:53:02 +00:00
|
|
|
[_logic, QGVAR(EnableTeamManagement), "EnableTeamManagement"] call EFUNC(common,readSettingFromModule);
|
2015-01-11 19:32:51 +00:00
|
|
|
|
2015-01-12 04:20:02 +00:00
|
|
|
diag_log text "[ACE]: Interaction Module Initialized.";
|