| 11-13-2002, 04:51 AM | #1 |
I'm aware of the wait action bug, and I'd like to know, if somebody leaves or is defeated in a game do I have to adjust the variable with the number of players or should I leave it alone? |
| 11-14-2002, 01:40 AM | #2 |
You Could make a trigger that checks how many players there is every 5 seconds: First make a variable type integer named NumUsers. The initial value should be the amount of players so, if there is 4 players the initial value should be 4. Then you have to make a trigger for each player individually and it would look something like this: Event: ----Every 5 seconds of the game Conditions: ----(Player 1 (red) slot status) not equal to is playing Action: Set NumUsers=(NumUsers -1) That should be it, i dont know if there's any better way, but this is quite simple and effective. EDIT: Sorry, i got it all wrong. kinda missunderstodd you there. anyways If u have this trigger in the beginning u could use this trigger to keep track of the players in the game: Events:-------- Conditions ----(Player 1 (red) slot status) not equal to is playing Action: ----Set NumUsers=(NumUsers -1) ----Trigger turn of this trigger |
| 11-14-2002, 02:12 AM | #3 |
Thanks for showing me how and all but all I really needed to know was if I needed it to be equal to the number of players currently playing and not the number that started in the game. I guess that's true so I'll just whip it up quick. |
| 11-15-2002, 12:57 AM | #4 |
Well, you can never know enough =O) |
