JezuzLizard
Great info thanks
so im gonna start with something like this.. im sure theres better ways but it seems to work for my use case... if it turns out not ill continue thread.Thanks a bunch!
main(){ //other bits } init(){ //.. setdvar( "bots_main_firstIsHost", true ); level thread spawnBots(botAmount); } spawnBots(amount) { while(!isHost(level.players[0])){ wait(2); // Give some time //quick check for players playerPool = level.players.size; println("There are "+level.players.size+" Players"); if(playerPool>0){ //someone is here.. if (isHost(level.players[0])) { println("Client 0 IS host, rain bots"); wait(2); for (i = 0; i < amount; i++) { addTestClient(); //< i think this is the way... } break; }else{ println("Client 0 IS NOT host"); // maybe here i should kick bots and redo from start } } } println("Bots done!"); }