mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
VehLock - canInteract check
This commit is contained in:
parent
5bfaf7da7d
commit
c14514a3f9
@ -64,7 +64,7 @@ case (_funcType == "startLockpick"): {
|
||||
_condition = {
|
||||
PARAMS_1(_args);
|
||||
EXPLODE_2_PVT(_args,_unit,_veh);
|
||||
((_unit distance _veh) < 5) && ((speed _veh) < 1)
|
||||
([_unit] call EFUNC(common,canInteract)) && ((_unit distance _veh) < 5) && ((speed _veh) < 1)
|
||||
};
|
||||
[_vehLockpickStrenth, [_unit, _veh, "finishLockpick"], {(_this select 0) call FUNC(lockpick)}, {}, (localize "STR_ACE_Vehicle_Action_LockpickInUse"), _condition] call EFUNC(common,progressBar);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user