Thread: Index???!!!
View Single Post
  #23  
Old 10-21-2001, 04:17 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Quote:
Originally posted by Xaviar


Yea, but you don't need indexes to do that, just:

if (playerenters) {
this.count++;
if (this.count==3) {
this.count = 0;
playerrupees += 5;
}
}

That'll give 5g to every 3rd person to walk into the level
that would only work if the same player entered the level 3 times
Reply With Quote