mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Block Door interactions for ACE-Mod
This commit is contained in:
parent
a6b7eb94b4
commit
52b41f4ac3
@ -94,4 +94,14 @@ call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "epoch_code\system\player_login.fsm";
|
||||
|
||||
if (isclass (configFile >> "CfgPatches" >> "ace_common")) then {
|
||||
if (["CfgEpochClient", "DisableDoorInteractForACE", true] call EPOCH_fnc_returnConfigEntryV2) then {
|
||||
[] spawn {
|
||||
private _start = diag_ticktime;
|
||||
waituntil {!isnil "MACRO_DOOR_REACH_DISTANCE" || diag_ticktime - _start > 90};
|
||||
MACRO_DOOR_REACH_DISTANCE = -1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
true
|
||||
|
@ -67,6 +67,7 @@ class CfgEpochClient
|
||||
ActionHookRope = "true"; // Rope is needed to hook vehicles (get back on release)
|
||||
|
||||
DefuseBombChance = 0.4; // Chance for successfully defuse a bomb -> If fail, the bomb will explode
|
||||
DisableDoorInteractForACE = "true"; // If true, Door-Interactions from ACE-Mod will be blocked (no effect, if ACE is not running)
|
||||
|
||||
epochMessageBackgroundCol[] = {0,0,0,0.2}; //Epoch_message background color (format: {R,G,B,A})
|
||||
epochMessageTextCol[] = {1,1,1,0.95}; //Epoch_message text color (format: {R,G,B,A})
|
||||
|
Loading…
Reference in New Issue
Block a user