mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
19418b824d
* added rating settings * moved rating to interaction * Update fnc_canPardon.sqf * Update stringtable.xml * Update CfgVehicles.hpp * Update XEH_postInit.sqf
28 lines
642 B
Plaintext
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.");
|