Samirocks123
Well-Known Member
As the title says, does anyone know how to do this? I can get zombies to spawn when in vehicles, but not the loot D: . Any help would be greatly appreciated!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
// original code
if (!_inVehicle) then {
// modified code
if (true) then {
copy paste the editing u did plsI can confirm that Mdk's idea does WORK, half the time.... For some reason it doesn't work 100% of the time, only about 80%, I don't know why exactly but at least it works![]()
_isAir = vehicle player iskindof "Air";
_inVehicle = vehicle player isKindOf "player";
_fastRun = _this select 0;
_dateNow = (DateToNumber date);
_age = -1;
if (true) then {
_position = getPosATL player;
//waitUntil{_position nearObjectsReady 200};
_nearby = _position nearObjects ["building",200]; //nearestObjects [player, ["building"], 200];
_tooManyZs = {alive _x} count (_position nearEntities ["zZombie_Base",400]) > dayz_maxLocalZombies;
{
DayZ Code? Is this possible through server ?
anyone got a fix for this with 1.7.7.1?
_nearbyCount = count _nearby;
if ((_nearbyCount < 1) or (vehicle player != player)) exitwith {"Nothing close"};
Removing the code in line 76-77 of player_spawnCheck.sqf:
Code:_nearbyCount = count _nearby; if ((_nearbyCount < 1) or (vehicle player != player)) exitwith {"Nothing close"};
made it work for me.
_nearbyCount = count _nearby;
if (_nearbyCount < 1) exitwith {"Nothing close"};
if (_nearbyCount < 1) AND (speed player > 10) exitwith {"Nothing close"};