This commit is contained in:
vbawol
2013-02-17 09:15:49 -06:00
parent 9ca20ad439
commit e32d70c97b
3 changed files with 9 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ class CfgMagazines {
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require = "ItemToolbox";
create = "Wire_cat1";
create = "Fort_RazorWire";
};
};
};

View File

@@ -43,7 +43,13 @@ if (_qty >= _qty_in) then {
_dir = 90;
_location = [(position player),0,20,1,0,20,0] call BIS_fnc_findSafePos;
_helipad = nearestObjects [player, ["HeliHCivil"], 200];
if(count _helipad > 0) then {
_location = (getPosATL (_helipad select 0));
} else {
_location = [(position player),0,20,1,0,20,0] call BIS_fnc_findSafePos;
}
//place tent (local)
_veh = createVehicle [_part_out, _location, [], 0, "CAN_COLLIDE"];

View File

@@ -199,7 +199,7 @@ spawn_vehicles = {
} else {
// Spawn air anywhere that is flat
waitUntil{!isNil "BIS_fnc_selectRandom"};
_position = [MarkerPosition,0,DynamicVehicleArea,25,0,1,0] call BIS_fnc_findSafePos;
_position = [MarkerPosition,0,DynamicVehicleArea,10,0,2000,0] call BIS_fnc_findSafePos;
//diag_log("DEBUG: spawning air anywhere flat " + str(_position));
};