View Single Post
  #4  
Old 08-23-2011, 12:08 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Televangelist View Post
Ooh, nice!


So, just so I'm clear:

1. players.size refers to the number of players in the level, not the overall server?

2. The larger plan I have for the 'adventuring time limit' that can be expanded via power-ups (in the same way your heart meter, say, can be expanded in a Zelda game over time) is feasible as well?

Thanks!
There's players and allplayers. The first always refers to the players in the level the code is executed in. The latter refers to all players on the server. Also, your "larger plan" should be possible as well. I suggest you store the time it can be extended in some clientr.variables (like Tricxta said), then just wait the specific time when all players left until you reset your stuff.
Reply With Quote