2015-01-11 19:32:51 +00:00
|
|
|
/*
|
|
|
|
* Author: bux578
|
2015-09-28 16:06:25 +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>
|
2015-09-28 16:06:25 +00:00
|
|
|
* 1: Units <ARRAY>
|
2015-05-09 02:47:15 +00:00
|
|
|
* 2: Activation State <BOOL>
|
2015-01-11 19:32:51 +00:00
|
|
|
*
|
2015-09-28 16:06:25 +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
|
|
|
|
2015-09-28 16:06:25 +00:00
|
|
|
params ["_logic", "", "_activated"];
|
2015-01-11 19:32:51 +00:00
|
|
|
|
|
|
|
if !(_activated) exitWith {};
|
|
|
|
|
2015-02-03 05:53:02 +00:00
|
|
|
[_logic, QGVAR(EnableTeamManagement), "EnableTeamManagement"] call EFUNC(common,readSettingFromModule);
|
2017-09-07 17:38:26 +00:00
|
|
|
[_logic, QGVAR(disableNegativeRating), "DisableNegativeRating"] call EFUNC(common,readSettingFromModule);
|
2015-01-11 19:32:51 +00:00
|
|
|
|
2016-10-02 10:55:31 +00:00
|
|
|
INFO("Interaction Module Initialized.");
|