mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Rearm driver weapons (pook rearming)
This commit is contained in:
@@ -48,6 +48,7 @@
|
|||||||
[NEW] Players can now manually push stuck planes backwards to free them. @ebaydayz
|
[NEW] Players can now manually push stuck planes backwards to free them. @ebaydayz
|
||||||
[NEW] You may set the buying or selling price of any item to -1 to disallow the respective trading action, only with config traders and advanced trading @icomrade
|
[NEW] You may set the buying or selling price of any item to -1 to disallow the respective trading action, only with config traders and advanced trading @icomrade
|
||||||
[NEW] Salvage can now be disabled on locked vehicles via DZE_salvageLocked variable. #1757 @oiad
|
[NEW] Salvage can now be disabled on locked vehicles via DZE_salvageLocked variable. #1757 @oiad
|
||||||
|
[NEW] You may now rearm pooks and other helicoper/vehicle pilot/driver weapons @icomrade
|
||||||
|
|
||||||
[CHANGED] Combattimeout now uses diag_tickTime instead of time.
|
[CHANGED] Combattimeout now uses diag_tickTime instead of time.
|
||||||
[CHANGED] AmmoBoxSmall_556/762 is replaced with DZ_AmmoBoxUS/RU/EU/CZ and MedBox0 is replaced with DZ_MedBox (new model)
|
[CHANGED] AmmoBoxSmall_556/762 is replaced with DZ_AmmoBoxUS/RU/EU/CZ and MedBox0 is replaced with DZ_MedBox (new model)
|
||||||
|
|||||||
@@ -55,8 +55,11 @@ if (_inVehicle) then {
|
|||||||
r_action2 = true;
|
r_action2 = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
if (count _assignedRole > 1) then {
|
if ((count _assignedRole) > 1 || ((_assignedRole select 0) == "driver")) then {
|
||||||
|
_turret = [-1];
|
||||||
|
if ((count _assignedRole) > 1) then {
|
||||||
_turret = _assignedRole select 1;
|
_turret = _assignedRole select 1;
|
||||||
|
};
|
||||||
_weapons = _vehicle weaponsTurret _turret;
|
_weapons = _vehicle weaponsTurret _turret;
|
||||||
{
|
{
|
||||||
_weaponName = getText (configFile >> "cfgWeapons" >> _x >> "displayName");
|
_weaponName = getText (configFile >> "cfgWeapons" >> _x >> "displayName");
|
||||||
|
|||||||
Reference in New Issue
Block a user