ID:146875
![]() Dec 30 2004, 3:34 pm
|
|
I was wondering if someone new a code or library that I could use to randomly place tiles into my map file.
|
![]() Dec 30 2004, 3:41 pm
|
|
Could you be more specific? I doubt this is what you're looking for:
|
well I have 3 turfs that I want to use for the default of my game but I dont want to go through and place them randomly 1 by one. is there an easier way
|
Sleinth wrote:
well I have 3 turfs that I want to use for the default of my game but I dont want to go through and place them randomly 1 by one. is there an easier way Sure. You would use the pick() proc in combination with New(). For example, let's say you have a grass icon with 3 grass states called "1", "2", and "3": turf/Grass Hopefully, this should give you an idea of what you need to do :) |