Little problem understanding types...

Blitz3D Forums/Blitz3D Programming/Little problem understanding types...

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.

"but how can I for example create 100 chairs (with all the coordinates, and stuff), if the chairs aren't loaded anywhere? That's what I can't understand."

something like this?

for i = 0 to 99

c.chair = new chair

c\Xpos = rnd(-100,100)
c\Zpos = rnd(-100,100)
c\name$ = "chair" +str(i)

next

however if you want to create each xpos and ypos manually you would need to do them manually or use an editor or maybe from some data.