ACE3/addons/interaction/functions/fnc_moduleInteraction.sqf

30 lines
584 B
Plaintext
Raw Normal View History

2015-01-11 19:32:51 +00:00
/*
* Author: bux578
* Initializes the Interaction module
2015-01-11 19:32:51 +00:00
*
* Arguments:
* 0: Logic <NUMBER>
* 1: ???
* 2: Activation State <BOOL>
2015-01-11 19:32:51 +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-05-09 20:14:00 +00:00
private ["_logic", "_activated"];
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
ACE_LOGINFO("Interaction Module Initialized.");