Actually I tried to do it with types. Didn't work right.
The locations on the board as well as the screen are -45 to 45 X and -45 to 45 Z. Stepping by 10.
SO I did this:
I put the empty squares with a function I call outside of the main program loop like this:
-RZ
The locations on the board as well as the screen are -45 to 45 X and -45 to 45 Z. Stepping by 10.
SO I did this:
empty=LoadMesh("square.b3d") PositionEntity empty,-45,.15,-45 EntityPickMode empty,2 HideEntity empty Type empty Field entity Field ex Field ey Field ez Field Color End Type For space = 1 To 100 For locx = -45 To 45 Step 10 For locz = -45 To 45 Step 10 n.empty = New empty n\entity = CopyEntity(empty) n\ex = locx n\ey = .15 n\ez = locz Next Next NextBut for some reason that won't display all the squares... I think they overlap. Very slow.
I put the empty squares with a function I call outside of the main program loop like this:
Function put_empty() For n.empty = Each empty EntityType n\entity,2 EntityPickMode n\entity,2 PositionEntity n\entity,n\ex,n\ey,n\ez Next End FunctionSo what am I doing wrong???
-RZ