View Single Post
Old 06-06-2006, 08:31 AM   #7
Drakilor
Dungeon Master
 

Join Date: July 27, 2005
Posts: 52
I don't think the latest question suffice for an eight dimensional array.
code:
arra[a][b][c][d][e][f][g][h] = value
// Wich of these arrays do you want to change element 4 in?
[/QUOTE]If you want to store data for n ammount of bots, a much easier way is to store a structure or an object described by a bot class in each element. You could get something like this:
code:
myBotArray[botIdentificator].Health = 100
myBotArray[botIdentificator].IsDead = false
[/QUOTE]
Drakilor is offline   Reply With Quote