ACE3/addons/interaction/functions/fnc_moduleInteraction.sqf

27 lines
536 B
Plaintext
Raw Normal View History

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:
* 0: Logic <NUMBER>
2015-09-28 16:06:25 +00:00
* 1: Units <ARRAY>
* 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
*
* 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);
2015-01-11 19:32:51 +00:00
INFO("Interaction Module Initialized.");