mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Common - Add lockInventory status effect (#9402)
Add lockInventory status effect
This commit is contained in:
parent
11664b0040
commit
6f58830603
@ -28,6 +28,7 @@
|
||||
["setHidden", true, ["ace_unconscious"]] call FUNC(statusEffect_addType);
|
||||
["blockRadio", false, [QEGVAR(captives,Handcuffed), QEGVAR(captives,Surrendered), "ace_unconscious"]] call FUNC(statusEffect_addType);
|
||||
["blockSpeaking", false, ["ace_unconscious"]] call FUNC(statusEffect_addType);
|
||||
["lockInventory", true, []] call FUNC(statusEffect_addType);
|
||||
|
||||
[QGVAR(forceWalk), {
|
||||
params ["_object", "_set"];
|
||||
@ -120,6 +121,12 @@
|
||||
_object setMass _mass;
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
|
||||
[QGVAR(lockInventory), {
|
||||
params ["_object", "_set"];
|
||||
TRACE_2("lockInventory EH",_object,_set);
|
||||
_object lockInventory (_set > 0);
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
|
||||
//Add a fix for BIS's zeus remoteControl module not reseting variables on DC when RC a unit
|
||||
//This variable is used for isPlayer checks
|
||||
if (isServer) then {
|
||||
|
Loading…
Reference in New Issue
Block a user