Hi Martyr2,
This is truly excellent!!
I'd been searching for this for a long time, and finally found it.
Just really curious why there's no such articles on this.
I strongly suggest that you put this up on your blog, or contribute to someone's blog, so it's an article/tutorial, instead of just a forum posting.
Thanks once again!

QUOTE(Martyr2 @ 29 Oct, 2007 - 03:08 PM)

Ok, here is a good sample for you using your creatures. I created a class called "creatures" and filled the array of creatures with 10 creatures named MonsterMan0 - MonsterMan9. Just read the comments and follow along.
CODE
' Create an array of creature classes
Dim creatureArray(10) As creatures
Dim i As Integer = 0
' Load up the array with 10 creatures named MonsterMan0 - MonsterMan9
For i = 0 To 9
Dim mycreature As creatures = New creatures()
' Set his name and his age (all our monsters are clones, so they have the same age! (you could assign whatever data you wanted)
mycreature.name = "MonsterMan" & i.ToString
mycreature.age = 100
' Store our copy of the creature into the array of creatures
creatureArray(i) = mycreature
Next
' Show the name of the 5th monster who is in slot 4 because the array starts at 0, so his name is MonsterMan4
MessageBox.Show("The 5th monster is named: " & creatureArray(4).name)
I hope you get the idea now. We simply create an array of creatures and then we create a new creature in our loop and store it in the next slot of our array. At the end we have an array of ten creatures starting in slot 0 through slot 9. Then we can get at each creature by using the array's index like I did in the messagebox.
Btw, in the future put your .NET questions in the VB.NET forum. This forum is dedicated to previous versions of VB (4/5/6). Thanks!
Enjoy!
