putting tiles on board

Blitz3D Forums/Blitz3D Programming/putting tiles on board

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.

O so I am alternating between an Othello game and a chess game and I have run in to a bit of a tedious problem.

Putting tiles.

This is a sample of what I had done:
empty=LoadMesh("square.b3d")
PositionEntity empty,-45,.15,-45
EntityPickMode empty,2

emp2=CopyEntity (empty)
PositionEntity emp2,-45,.15,-35
EntityPickMode emp2,2

emp3=CopyEntity (empty)
PositionEntity emp3,-45,.15,-25
EntityPickMode emp3,2

emp4=CopyEntity (empty)
PositionEntity emp4,-45,.15,-15
EntityPickMode emp4,2

emp5=CopyEntity (empty)
PositionEntity emp5,-45,.15,-5
EntityPickMode emp5,2

emp6=CopyEntity (empty)
PositionEntity emp6,-45,.15,5
EntityPickMode emp6,2

emp7=CopyEntity (empty)
PositionEntity emp7,-45,.15,15
EntityPickMode emp7,2
yadda yadda... I have 100 of these to do the hard way and then I thought about it... for next... DUH!!!

So I did this:
For empnumb = 2 To 100
	emp+empnumb = CopyEntity (empty)
Next
but it tells me emp is not a function. I tried it with emp(empnumb) and it told me the same thing... D'oh!!!

How can I do this without typing my wrists off???

-Rook