Ok so theres a statpanel called queve and there can only be two players how would i make a check if player1 spot is open then u are player 1. if its not you are player 2.. IF their both taken then it says you have to watch?
How would i do this?
ID:178180
Jun 11 2002, 10:53 pm
|
|
ShadowSiientx wrote:
Ok so theres a statpanel called queve and there can only be two players how would i make a check if player1 spot is open then u are player 1. if its not you are player 2.. IF their both taken then it says you have to watch? Well, you should probably start by spelling it "queue". Lummox JR |
In response to Lummox JR
|
|
...
|
You could create a gamecontroller object, and use variables within that object to control game events like joining and quitting the game. Creating such an object is very simple. I'll provide a simple example:
When writing the PlayerQuit proc, just set the playerX variables to null. I also used return codes to determine what position the player got. So if you save the return value you can use it maybe to place the players at different places.
Good luck!
/Andreas