a array position question

Blitz3D Forums/Blitz3D Beginners Area/a array position question

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

There is nothing wrong with your method of - creating the 'ring' then manually putting them in line by line:

box(m,0)=LoadMesh("ring1.3ds")
PositionEntity box(m,0),Rand(5,5),0,Rand(-5,-5)


However, you have to remember the array is multi-dimensioned
So you would also need to create successive blocks (like you did above) - but increase the second value in box(m,0)

0,0 - 0,1 - 0,2 - etc
1,0 - 1,1 - 1,2 - etc
2,0 - 2,1 - 2,2 - etc
etc.