ACE3/addons/interaction/functions/fnc_moduleInteraction.sqf
2015-09-28 18:06:25 +02:00

27 lines
543 B
Plaintext

/*
* Author: bux578
* Initializes the Interaction module.
*
* Arguments:
* 0: Logic <NUMBER>
* 1: Units <ARRAY>
* 2: Activation State <BOOL>
*
* Return Value:
* None
*
* Example:
* [logic, ???, activationState] call ace_interaction_fnc_moduleInteraction
*
* Public: No
*/
#include "script_component.hpp"
params ["_logic", "", "_activated"];
if !(_activated) exitWith {};
[_logic, QGVAR(EnableTeamManagement), "EnableTeamManagement"] call EFUNC(common,readSettingFromModule);
ACE_LOGINFO("Interaction Module Initialized.");