ACE3/addons/interaction/functions/fnc_moduleInteraction.sqf
Christian Klemm 19418b824d Added rating settings (#5354)
* added rating settings

* moved rating to interaction

* Update fnc_canPardon.sqf

* Update stringtable.xml

* Update CfgVehicles.hpp

* Update XEH_postInit.sqf
2017-09-07 19:38:26 +02:00

28 lines
642 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);
[_logic, QGVAR(disableNegativeRating), "DisableNegativeRating"] call EFUNC(common,readSettingFromModule);
INFO("Interaction Module Initialized.");