mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge branch 'fixmodules' into release
This commit is contained in:
commit
07845d5a89
@ -79,6 +79,10 @@ class CfgVehicles {
|
|||||||
class GVAR(moduleBase): Module_F {
|
class GVAR(moduleBase): Module_F {
|
||||||
author = "SilentSpike";
|
author = "SilentSpike";
|
||||||
category = "ACE";
|
category = "ACE";
|
||||||
|
functionPriority = 1;
|
||||||
|
isGlobal = 1;
|
||||||
|
isTriggerActivated = 0;
|
||||||
|
scope = 1;
|
||||||
scopeCurator = 2;
|
scopeCurator = 2;
|
||||||
};
|
};
|
||||||
class GVAR(moduleCaptive): GVAR(moduleBase) {
|
class GVAR(moduleCaptive): GVAR(moduleBase) {
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
PARAMS_3(_logic,_units,_activated);
|
PARAMS_3(_logic,_units,_activated);
|
||||||
private ["_mouseOver","_unit","_captive"];
|
private ["_mouseOver","_unit","_captive"];
|
||||||
|
|
||||||
if (!_activated) exitWith {};
|
if !(_activated && local _logic) exitWith {};
|
||||||
|
|
||||||
if (isNil QEFUNC(captives,setHandcuffed)) then {
|
if (isNil QEFUNC(captives,setHandcuffed)) then {
|
||||||
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
PARAMS_3(_logic,_units,_activated);
|
PARAMS_3(_logic,_units,_activated);
|
||||||
private ["_mouseOver","_unit","_surrendering"];
|
private ["_mouseOver","_unit","_surrendering"];
|
||||||
|
|
||||||
if (!_activated) exitWith {};
|
if !(_activated && local _logic) exitWith {};
|
||||||
|
|
||||||
if (isNil QEFUNC(captives,setSurrendered)) then {
|
if (isNil QEFUNC(captives,setSurrendered)) then {
|
||||||
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
PARAMS_3(_logic,_units,_activated);
|
PARAMS_3(_logic,_units,_activated);
|
||||||
private ["_mouseOver","_unit","_conscious"];
|
private ["_mouseOver","_unit","_conscious"];
|
||||||
|
|
||||||
if (!_activated) exitWith {};
|
if !(_activated && local _logic) exitWith {};
|
||||||
|
|
||||||
if (isNil QEFUNC(medical,setUnconscious)) then {
|
if (isNil QEFUNC(medical,setUnconscious)) then {
|
||||||
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||||
@ -38,7 +38,7 @@ if (isNil QEFUNC(medical,setUnconscious)) then {
|
|||||||
} else {
|
} else {
|
||||||
_conscious = GETVAR(_unit,ACE_isUnconscious,false);
|
_conscious = GETVAR(_unit,ACE_isUnconscious,false);
|
||||||
// Function handles locality for me
|
// 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