01.10.2015, 22:00
use 3D arrays for positions,
Zonespawns[10][10][3] for example ( that means 10 DM areas, 10 different spawns each, and XYZ for each spawn), then when you wanna change the zone, do a random(sizeof(Zonespawns)) and load your spawns from the one it randomed.
PS: I'm not sure how to give value to 3D arrays, but you can simply do it all under Ongamodmodeinit and do Zonespawns[0][][]={ {X,Y,Z}, } etc, at least if no one answers how would you do that
as for your second question, you can simply spawn people using SetSpawnInfo and SpawnPlayer to force the player to spawn in the interior as soon as they logged on, and you can simply spawn them on your next map rotation that you do, just like you suggested yourself, nothing complex
although as a suggestion let people join on the current map too if they want, 10 min is too much to wait, or make rotations be 4-5 mins
Zonespawns[10][10][3] for example ( that means 10 DM areas, 10 different spawns each, and XYZ for each spawn), then when you wanna change the zone, do a random(sizeof(Zonespawns)) and load your spawns from the one it randomed.
PS: I'm not sure how to give value to 3D arrays, but you can simply do it all under Ongamodmodeinit and do Zonespawns[0][][]={ {X,Y,Z}, } etc, at least if no one answers how would you do that
as for your second question, you can simply spawn people using SetSpawnInfo and SpawnPlayer to force the player to spawn in the interior as soon as they logged on, and you can simply spawn them on your next map rotation that you do, just like you suggested yourself, nothing complex
although as a suggestion let people join on the current map too if they want, 10 min is too much to wait, or make rotations be 4-5 mins