Page MenuHomeFeedback Tracker

cars not despawning when turning their event off.
Closed, ResolvedPublic

Description

i have just come across an issue when trying to reset my car spawn, i set the active value to 0 and restarted my server. To load back in to see the cars still sitting on the map even though the event that controls them is turned off. i then removed the event entry completely hoping this would fix the issue but unfortunately the cars are still sitting on the map. i will mention all my other events work as they should it's only the VehicleHatchback02 event that is causing this issue.

Details

Severity
Major
Resolution
Open
Reproducibility
Random
Operating System
Windows 7
Category
Scripting
Steps To Reproduce

turn off the event, restart the server and load back in. if you get this issue your cars will still be sitting on the map, even removing the entry completely doesn't despawn them!.

Event Timeline

Geez added a subscriber: Geez.May 6 2021, 1:21 PM

Hello dayzdevil.
The present vehicles are saved in the storage. You will have to disable their save/load in globals.xml.
Regards,
Geez

Yh I know I can turn their save off through the economy.xml file but the event should turn them off. especially when it’s removed from the server completely.
I will disable them in the economy file and let you know the outcome.

This comment was removed by dayzdevil.

Ok I set the save and load to 0 it seems to have cleared them up, they seem to be spawning and despawning as they should now. Thanks.

Geez closed this task as Resolved.May 7 2021, 11:21 AM
Geez claimed this task.