Is your feature request related to a problem? Please describe.
Right now, the Secure Intel mission uses a simple scheduled script to restore any hidden terrain objects and delete buildings. This can lead to players seeing trees pop up and buildings disappear in front of them if they stick around the mission for enough time.
Describe the solution you'd like
We should have a few functions to handle discreetly cleaning up missions when no players are around. This may involve a server-side script that maintains a queue of terrain objects to unhide and buildings to delete, possibly with a defined area and timeout at which point the server is safe to perform its cleanup.
Describe alternatives you've considered
Alternatively, no cleanup can be done and all mission objects can remain in place. This is interesting for persistency, but starts to unnecessarily clutter the map with unused buildings. Reusing buildings could in theory resolve that, but it is harder to implement than simply recreating those buildings as necessary.
Is your feature request related to a problem? Please describe. Right now, the Secure Intel mission uses a simple scheduled script to restore any hidden terrain objects and delete buildings. This can lead to players seeing trees pop up and buildings disappear in front of them if they stick around the mission for enough time.
Describe the solution you'd like We should have a few functions to handle discreetly cleaning up missions when no players are around. This may involve a server-side script that maintains a queue of terrain objects to unhide and buildings to delete, possibly with a defined area and timeout at which point the server is safe to perform its cleanup.
Describe alternatives you've considered Alternatively, no cleanup can be done and all mission objects can remain in place. This is interesting for persistency, but starts to unnecessarily clutter the map with unused buildings. Reusing buildings could in theory resolve that, but it is harder to implement than simply recreating those buildings as necessary.