rndtnum = Rnd(0,9) ; get a rnd num 0-9, to select a texture to load and assign to wall.
You said above that you get a random texture between 0 and 4. Also, when dealing with integer random numbers, try and use
Rand
instead of
Rnd
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.
rndtnum = Rnd(0,9) ; get a rnd num 0-9, to select a texture to load and assign to wall.