mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-27 18:21:50 +03:00
missed
This commit is contained in:
@@ -89,7 +89,7 @@ class CfgMagazines {
|
|||||||
text = $STR_ACTIONS_BUILD;
|
text = $STR_ACTIONS_BUILD;
|
||||||
script = "spawn player_build;";
|
script = "spawn player_build;";
|
||||||
require = "ItemToolbox";
|
require = "ItemToolbox";
|
||||||
create = "Wire_cat1";
|
create = "Fort_RazorWire";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -43,7 +43,13 @@ if (_qty >= _qty_in) then {
|
|||||||
|
|
||||||
_dir = 90;
|
_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)
|
//place tent (local)
|
||||||
_veh = createVehicle [_part_out, _location, [], 0, "CAN_COLLIDE"];
|
_veh = createVehicle [_part_out, _location, [], 0, "CAN_COLLIDE"];
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ spawn_vehicles = {
|
|||||||
} else {
|
} else {
|
||||||
// Spawn air anywhere that is flat
|
// Spawn air anywhere that is flat
|
||||||
waitUntil{!isNil "BIS_fnc_selectRandom"};
|
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));
|
//diag_log("DEBUG: spawning air anywhere flat " + str(_position));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user