mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
30 lines
592 B
Plaintext
30 lines
592 B
Plaintext
/*
|
|
* Author: bux578
|
|
* Initializes the Interaction module
|
|
*
|
|
* Arguments:
|
|
* 0: Logic <NUMBER>
|
|
* 1: ???
|
|
* 2: Activation State <BOOL>
|
|
*
|
|
* Return value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [logic, ???, activationState] call ace_interaction_fnc_moduleInteraction
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
private ["_logic", "_activated"];
|
|
|
|
_logic = _this select 0;
|
|
_activated = _this select 2;
|
|
|
|
if !(_activated) exitWith {};
|
|
|
|
[_logic, QGVAR(EnableTeamManagement), "EnableTeamManagement"] call EFUNC(common,readSettingFromModule);
|
|
|
|
diag_log text "[ACE]: Interaction Module Initialized.";
|