Hi everyone,
New to sfs and writing an extension. I want to achieve the following:
A player hits "play" on the game and the server gets the requests.
1) it looks at its current rooms and see if any has less than 8 players.
a) if one has less than 8 players, puts him into one of them and begins game
b) if all rooms are full (8 players), creates a new room, adds it and begins game
I saw the examples and i see how to create rooms, but any way to iterate and check players and make them join? I'm sure it's a simple loop but I can't figure it out.
Thanks
Joaquin Grech
room asignment
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Hi Joaquin and welcome
My bet is that you will have a better chance of someone answering your post over in the server side extension part of the forums:
viewforum.php?f=4
The question isnt really Unity specific, and I dont think the more hardcore extension developers come here to check.
Best
Thomas
My bet is that you will have a better chance of someone answering your post over in the server side extension part of the forums:
viewforum.php?f=4
The question isnt really Unity specific, and I dont think the more hardcore extension developers come here to check.
Best
Thomas
Return to “.Net / Unity3D API”
Who is online
Users browsing this forum: No registered users and 17 guests