Quote: "Derek Darkly I'm not entirely sure how to use the 'dim' commands."
Use it just like I showed you:
DIM ObjType(1000)
You now have 1000 unique 'object type' containers ready to be assigned any value you like.
If you want to assign a value for object type #1, for example:
ObjType(1)=42
If you want to call the value for object type #500:
x=ObjType(500)
(After dimensioning an array this way, by default all values will be zero until given another value.)
For example, let's say you want 436 trees, all with random heights:
MaxTrees=436
DIM TreeHeight(MaxTrees)
for T=1 to MaxTrees
make object T,MeshNumber,ImageNumber
TreeHeight(T)=rnd(1000)
scale object T,TreeHeight(T),TreeHeight(T),TreeHeight(T)
next