mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
increase range for #512
This commit is contained in:
parent
d8b0b8d6f3
commit
dbbc8f1853
@ -171,7 +171,7 @@ switch _interactOption do {
|
||||
};
|
||||
};
|
||||
case 4: { // Refuel 4
|
||||
_vehicles = player nearEntities [["LandVehicle","Ship","Air","Tank"], 6];
|
||||
_vehicles = player nearEntities [["LandVehicle","Ship","Air","Tank"], 30];
|
||||
if (cursorTarget in _vehicles) then {
|
||||
_vehicle = cursorTarget;
|
||||
_currentFuel = fuel _vehicle;
|
||||
@ -191,9 +191,8 @@ switch _interactOption do {
|
||||
};
|
||||
};
|
||||
case 5: {
|
||||
_vehicles = player nearEntities [["LandVehicle","Ship","Air","Tank"], 6];
|
||||
_vehicles = player nearEntities [["LandVehicle","Ship","Air","Tank"], 30];
|
||||
_canCapacity = _interactAttributes param [0,10];
|
||||
|
||||
if (cursorTarget in _vehicles) then {
|
||||
_vehicle = cursorTarget;
|
||||
_fuelCapacity = getNumber (configfile >> "CfgVehicles" >> (typeOf _vehicle) >> "fuelCapacity");
|
||||
@ -230,7 +229,7 @@ switch _interactOption do {
|
||||
case 8: _unifiedInteract; //Cold -1
|
||||
case 9: _unifiedInteract; //Energy 100
|
||||
case 10: { // Repair 10 - Lite
|
||||
_vehicles = player nearEntities [["LandVehicle","Ship","Air","Tank"], 6];
|
||||
_vehicles = player nearEntities [["LandVehicle","Ship","Air","Tank"], 30];
|
||||
_vehicle = cursorTarget;
|
||||
if (_vehicle in _vehicles) then {
|
||||
|
||||
@ -267,7 +266,7 @@ switch _interactOption do {
|
||||
};
|
||||
};
|
||||
case 11: { // Repair 11 - Heavy
|
||||
_vehicles = player nearEntities [["LandVehicle","Ship","Air","Tank"], 6];
|
||||
_vehicles = player nearEntities [["LandVehicle","Ship","Air","Tank"], 30];
|
||||
_vehicle = cursorTarget;
|
||||
if (_vehicle in _vehicles) then {
|
||||
if (_item call _removeItem) then {
|
||||
|
@ -14,7 +14,7 @@
|
||||
*/
|
||||
closeDialog 0;
|
||||
if (!isNull cursorTarget) then {
|
||||
_vehicles = player nearEntities[["LandVehicle", "Ship", "Air", "Tank"], 25];
|
||||
_vehicles = player nearEntities[["LandVehicle", "Ship", "Air", "Tank"], 30];
|
||||
if (cursorTarget in _vehicles) then {
|
||||
player action["Gear", cursorTarget];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user