View Single Post
  #5  
Old 09-04-2005, 12:15 PM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
Quote:
Originally Posted by Torankusu_2002
oh, gotcha.

The syntax for them is experienceammounts[portion#]?
Does it start at 0,1,2,...etc or 1,2,3,...etc?
Arrays start at 0, which is why I added the experience ammount 0 at the start of my example, thus meaning if you are level 0 you need 0 experience to level up lol.

You could always access them with somthing like 'ExperienceAmmounts[Level - 1]' instead, so that when you are Level 1, it looks at Position 0 (ie: the first position) in the array.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote