I just used this for the Y, it spawns the object a little above the ground. Zombie2red.y+floor (random(-10)+-10)
I don't understand why there is two? (-10)+-10). surely one 0 would have been enough?
if one zero would been enough then you would have a 1 instead of 10.
as for (random(-10)+-10) the +- is a bit redundant u could've easy do (random(-10)+10) its the same thing as the +- negates itself and u remain with a 10 positive.
If you would do random(0,10) then that would've been a different thing cause that would pick any number from 0 to 10.
if you do (random(-10)+10) you are basically saying add a random(-value) to this sum with 10 or set X value to 10 + random(-value) is the same thing.
now i dont know if this is explained or not in the manual, but my logic i think on it is
random(0) picks any number from -infinity to +infinity
random(-10) same thing but focuses on -infinity spectrum up to -10
random(1) same as above but towards +infinity from 1
(in ur picture u have random(0)+0) that means 0+random(any number + or - value)
P.S(i never read the manual (outside the preface) >.> ... to much info, unclear what to focus on, in my case best example was using Construct and learn by doing, as its very intuitive and logical in the common sense of execution)