Spyder. Hey man this script works amazingly. I have a question though and wonder if this just may be an issue with ALiVE and vehicle location persistence.
So I just tested this. I played for one hour with a 3CB vehicle and another hour with a Massi UKSF vehicle. In both instances, I played the mission, got out of the vehicle and server saved and exited. In both instances, when I restarted the server, I spawned at my last know location (with my AI teammates which is awesome) but the vehicles I had used had disappeared.
I keep hearing that it's "impossible" for vehicle location not to persist as long as you enter and exit the vehicle, but I swear man I have everything that has the word persistence in it set to "yes" and vehicle persistence simply doesn't work with ALiVE. No matter the class, vehicles just vanish, literally vanish with ALiVE when you continue a mission.
Is there any way around this with your script or ALiVE in general that you are aware of? I enter a vehicle. Exit. Restart the server and the vehicle is gone forever right now. With or without your script. No matter the mods.
Now, all that said, these are vehicles that have been originally spawned wth your spawner module. If perhaps these are treated differently than manually placed vehicles, and not considered physical and salable objects with ALiVE, that could explain it. If you think it could be useful, I could definitely manually place some vehicles in my mission and try your script/server save and exit again.