ID:142647
 
If youve ever played REO 1 or 2 you know the autohost/manual host feature where the host can pick the map then you can join then when everyone is dead it resets and the host picks again? well i need those codes and i have no earthly idea what the code is also can you help with my moves? such as shooting a beam with a trail behind it

Use the delete button in the future. Thanks.
In response to Foomer
Need help making an autohost/manual host feature for super smash brothers! if your willing to help me contact my key at SadoSoldier or just reply here i check it every hour unless im at school or asleep my problem is if youve played REO 1 or 2 you know what im talking about but my problem is when you log on your on the title screen wich i just a big picture of the characters lined up with words on saying the name of the game and who made it okay good thats where i want it but then i dont know how to make an autohost or manual host so a host can start a game and send all players online to the choose character map wich i made then after 1 minute if they have chosen their character send them to a big map wich i have yet to map for 2 minutes to get ready for the fight (if they didnt choose their character send them back to the title screen)then send them to the other map to fight then as soon as everyone except one person is dead i want it to go back to the title screen and say who won just keep looping like that on autohost i want the levels random on manual host i want the host to pick.. i hope i described it enough =\ well im going to go icon more characters or map that big map i was telling you about cya and thnx if u help me
This should be in Developer How-To, since you don't have any actual code.

However, to answer your first question...

proc
promptHost() //New procedure to check for the host
for(var/mob/curHost in world) //Loops thru every mob in the world
if(!curHost.client.address) //If they don't have an address, they're usually the host. There's some exceptions, however.
switch(input(curHost,"Which map would you like to select?","Map Selection","Map 1") in list("Map1","Map2","Map3")) //Does a switch and asks the player what map they want.
if("Map1") //If they chose the first map...
//Move all users to the map.
if("Map2")
//Move all users to the map.
if("Map3")
//Move all users to the map.


Just call it after world.New() ..()
well tyvm i need all the help i can get and thanks im not very good at choosing the right forum to post in you can tell if u read the name of the topic lol
In response to Thief Jack
uhhh can you explain that last sentence a bit and also... how would i make that into a verb
would it be similar to this

mob/host
promptHost()
i dunno sorry >.> and ill move this forum after you answer
In response to SadoSoldier
In response to Thief Jack
every tutorial i tried either doesnt help me or doesnt work(the codes) besides that i know all the basics i found codes then was able to teach myself then blend them to make my own unique codes now besides that even tutorials wont help me make a manual/auto host feature