mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Transfer zeus module fixes from master into hotfix
This commit is contained in:
parent
02cfbeda8c
commit
f6d8625fcb
@ -79,6 +79,10 @@ class CfgVehicles {
|
||||
class GVAR(moduleBase): Module_F {
|
||||
author = "SilentSpike";
|
||||
category = "ACE";
|
||||
functionPriority = 1;
|
||||
isGlobal = 1;
|
||||
isTriggerActivated = 0;
|
||||
scope = 1;
|
||||
scopeCurator = 2;
|
||||
};
|
||||
class GVAR(moduleCaptive): GVAR(moduleBase) {
|
||||
|
@ -18,7 +18,7 @@
|
||||
PARAMS_3(_logic,_units,_activated);
|
||||
private ["_mouseOver","_unit","_captive"];
|
||||
|
||||
if (!_activated) exitWith {};
|
||||
if !(_activated && local _logic) exitWith {};
|
||||
|
||||
if (isNil QEFUNC(captives,setHandcuffed)) then {
|
||||
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||
|
@ -18,7 +18,7 @@
|
||||
PARAMS_3(_logic,_units,_activated);
|
||||
private ["_mouseOver","_unit","_surrendering"];
|
||||
|
||||
if (!_activated) exitWith {};
|
||||
if !(_activated && local _logic) exitWith {};
|
||||
|
||||
if (isNil QEFUNC(captives,setSurrendered)) then {
|
||||
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||
|
@ -18,7 +18,7 @@
|
||||
PARAMS_3(_logic,_units,_activated);
|
||||
private ["_mouseOver","_unit","_conscious"];
|
||||
|
||||
if (!_activated) exitWith {};
|
||||
if !(_activated && local _logic) exitWith {};
|
||||
|
||||
if (isNil QEFUNC(medical,setUnconscious)) then {
|
||||
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||
@ -38,7 +38,7 @@ if (isNil QEFUNC(medical,setUnconscious)) then {
|
||||
} else {
|
||||
_conscious = GETVAR(_unit,ACE_isUnconscious,false);
|
||||
// Function handles locality for me
|
||||
[_unit, !_conscious, round(random(10)+5), true] call EFUNC(medical,setUnconscious);
|
||||
[_unit, !_conscious, 10e10, true] call EFUNC(medical,setUnconscious);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user