ok i havent tested this but it seems simple enough to add to epoch
as shooting said this part of the code is for cleanup
Code:
_delQtyAnimal = 0;
{
if (local _x && !((typeOf _x) in ["Pastor","Fin"])) then {
_x call sched_co_deleteVehicle;
_delQtyAnimal = _delQtyAnimal + 1;
};
} forEach entities "CAAnimalBase";
try changing
to
as this is what epoch uses (its the same function just a different name) so it looks like the below
Code:
_delQtyAnimal = 0;
{
if (local _x && !((typeOf _x) in ["Pastor","Fin"])) then {
_x call dayz_perform_purge;
_delQtyAnimal = _delQtyAnimal + 1;
};
} forEach entities "CAAnimalBase";
and put the code in server_monitor.sqf
under this
Code:
// Epoch Events
_id = [] spawn server_spawnEvents;
what is strange is i cant find any were in the epoch code were dayz_perform_purge is actually called ????
perhaps shooting will have more luck
this is not tested at all but is the most logical way i could se to add that particualr piece of code into epoch and have it fire off