ACE3/addons/interaction/functions/fnc_moduleInteraction.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

28 lines
645 B
Plaintext

#include "..\script_component.hpp"
/*
* 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
*/
params ["_logic", "", "_activated"];
if !(_activated) exitWith {};
[_logic, QGVAR(EnableTeamManagement), "EnableTeamManagement"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(disableNegativeRating), "DisableNegativeRating"] call EFUNC(common,readSettingFromModule);
INFO("Interaction Module Initialized.");