mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 21:29:59 +03:00
added debug markers for road debris and vehicle spawns
This commit is contained in:
@@ -250,6 +250,13 @@ spawn_vehicles = {
|
|||||||
_veh setdir _dir;
|
_veh setdir _dir;
|
||||||
_veh setpos _position;
|
_veh setpos _position;
|
||||||
|
|
||||||
|
if(DZEdebug) then {
|
||||||
|
_marker = createMarker [str(_position) , _position];
|
||||||
|
_marker setMarkerShape "ICON";
|
||||||
|
_marker setMarkerType "DOT";
|
||||||
|
_marker setMarkerText _vehicle;
|
||||||
|
};
|
||||||
|
|
||||||
// Get position with ground
|
// Get position with ground
|
||||||
_objPosition = getPosATL _veh;
|
_objPosition = getPosATL _veh;
|
||||||
|
|
||||||
@@ -285,10 +292,11 @@ spawn_roadblocks = {
|
|||||||
|
|
||||||
if((count _istoomany) > 0) exitWith { diag_log("DEBUG: Too many at " + str(_position)); };
|
if((count _istoomany) > 0) exitWith { diag_log("DEBUG: Too many at " + str(_position)); };
|
||||||
|
|
||||||
//_marker = createMarker [str(_position) , _position];
|
if(DZEdebug) then {
|
||||||
//_marker setMarkerShape "ICON";
|
_marker = createMarker [str(_position) , _position];
|
||||||
//_marker setMarkerType "DOT";
|
_marker setMarkerShape "ICON";
|
||||||
//_marker setMarkerText "ON";
|
_marker setMarkerType "DOT";
|
||||||
|
};
|
||||||
|
|
||||||
waitUntil{!isNil "BIS_fnc_selectRandom"};
|
waitUntil{!isNil "BIS_fnc_selectRandom"};
|
||||||
_spawnveh = _WreckList call BIS_fnc_selectRandom;
|
_spawnveh = _WreckList call BIS_fnc_selectRandom;
|
||||||
|
|||||||
Reference in New Issue
Block a user