It seems (IE I’ve not fully verified it, but it seemed to be the problem in my current script) that if you want to remove a possible spawn point and set the autospawn elsewhere (eg capturing a flag pushes respawning elsewhere) then you must IN ORDER:
- Change the autospawn
- Remove the team_WOLF_objective and spawn points
If you do them in the other order, you run a high risk of the autospawn not working properly. EG on helmsdeep, I was removing the south valley spawns and then setting the autospawn to the fort for Allies. However, they stubbornly spawned in the caves!
I believe this is because if the autospawn is set to a team_WOLF_objective, then within the script that setstate invisibles it, any autospawn command for that team will fail to register - hence it must go before.
The reason I think it fails to register as opposed to simply choosing a new, random autospawn is because after removing the south valley flag, neither the fort nor caves spawn flags on the maps had any player count - meaing the just removed south valley spawn flag was still default, despite the setautospawn command registering on the console.
Anyway, just thought I’d point it out in case anyone else has weird spawn fun 