[QUOTE=WAFFLE OF WAR] [QUOTE=Whiteclaws] Ahoy ! You forgot to put a range in your script
You see , set all the random(1024) to random(0,1024) !
Or I'll only spawn in 1024,1024[/QUOTE] Is that any different from what I said? Not to sound mean, but it's a serious question. :)[/QUOTE]
Random require a min value and a max value. So yes it is different than what you said.
random(0, 1024) will produce a number between 0 and 1023
random(1024) will produce a number of 1024
what your saying is set X to random(width), random(height). which will not solve the problem of items being placed in only one location
You can also do a "repeat x" loop. So you don't need to create numerous "create tree" actions.jayderyu2012-12-22 04:00:47