Despawn vehicle patrol

New Member

Hi!
On the forum there is similar topic but it's closed.
I was looking for, in what place removed vehicle patrol bots, but never found. In the files DZAI I opened vehicle, set ObjectID, ObjectUID, put in vehicle loot, added event message to the player that the vehicle will be lost after restart. Everything works, but when spawn a new patrol, the old vehicle is removed. I comment strings include deleteVehicle, did not help. Tell me which part of code is deleted? Thanks in advance!

OpenDayZ Guru!

Ok. So what you are saying happens is the players capture a vehicle from a DZAI. It despawns when the DZAI vehicle patrol is respawned.
Are you SURE thats when its deleted and not during the cleanup process?
Possibly the vehicle is not being deleted but is being moved by DZAI back to the new patrol spawn position?
Possibly the issue is that the objectID is hard coded ? Is it? I am just offering possible solutions here.
How about posting your RPT log (complete) showing the event.

New Member

Ok. So what you are saying happens is the players capture a vehicle from a DZAI. It despawns when the DZAI vehicle patrol is respawned.
Are you SURE thats when its deleted and not during the cleanup process?
Possibly the vehicle is not being deleted but is being moved by DZAI back to the new patrol spawn position?
Possibly the issue is that the objectID is hard coded ? Is it? I am just offering possible solutions here.
How about posting your RPT log (complete) showing the event.

Dzai system works as a cycle with a predetermined frequency. Every 5 minutes to check the patrol required to spawn. For example, I destroyed a helicopter - start a process that adds patrol in an array of objects required you to spaw. At the time of the survey checks specified in configure the time between spawn. If the specified time has passed, spawn vehicle and removed from the queue.
Selected from bots vehicle is lost, when a new patrol spawn.

"Possibly the vehicle is not being deleted but is being moved by DZAI back to the new patrol spawn position?"
Possible. I haven't fully figured out the structure of the system dzai bots.
(sorry for my english)