increase range for #512

This commit is contained in:
vbawol 2016-04-17 15:28:21 -05:00
parent d8b0b8d6f3
commit dbbc8f1853
2 changed files with 5 additions and 6 deletions

View File

@ -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 {

View File

@ -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];
};