+ Commented out anti-teleport script from 1.7.6.1 it would bug and pop
people into the air when walking on docks.
+ Changes to repair and salvage code to fix #167
+ Changed crafting recipe of H-barrier
["ItemSandbag",3],["ItemWire",1],["ItemTankTrap",1] fixes #153
+ Added more randomization to vehicle spawn location when purchasing, to
prevent duplicate UID's.
+ increased selling vehicle radis to 20m. fixes #168
+ change message when selling a vehicle and it is not within range "No
%1 found within 20 meters.".
+ Added HeliHempty to possible spawn locations for purchased vehicles.
This commit is contained in:
vbawol
2013-03-01 12:19:20 -06:00
parent 1be1707895
commit 598cb62a26
10 changed files with 31 additions and 31 deletions

View File

@@ -20,7 +20,7 @@ _bos = 0;
if(_buy_o_sell == "buy") then {
_qty = {_x == _part_in} count magazines player;
} else {
_obj = nearestObjects [(getPosATL player), [_part_in], 10];
_obj = nearestObjects [(getPosATL player), [_part_in], 20];
_qty = count _obj;
_bos = 1;
};
@@ -46,9 +46,9 @@ if (_qty >= _qty_in) then {
player removeMagazine _part_in;
};
_dir = 90;
_dir = round(random 360);
_location = [(position player),0,20,1,2,20,0] call BIS_fnc_findSafePos;
_location = [(position player),0,20,1,2,2000,0] call BIS_fnc_findSafePos;
//place tent (local)
_veh = createVehicle [_part_out, _location, [], 0, "CAN_COLLIDE"];
@@ -103,7 +103,7 @@ if (_qty >= _qty_in) then {
} else {
_needed = _qty_in - _qty;
cutText [format[("Need %1 More %2"),_needed,_textPartIn] , "PLAIN DOWN"];
cutText [format[("No %1 found within 20 meters."),_needed,_textPartIn] , "PLAIN DOWN"];
};
TradeInprogress = false;