If memory serves using random() will give you decimal values as well try int(random(10)).
but it will be more correct to use this function: floor(random(a))
it really works as I said higher
Interesting I didn't know you can do that, the sound still doesn't work, but now I have A Nother question, now we talking about random.
Is there a way if we say, we have a cube that is driving around, and then suddenly died. Upon his death it's bonds random objects A few seconds around it. That will damage other cubes.
So the question is if you type: floor(random(500))
Can you add something, to that, so it's bonds randomly at a specific object.
Or is there another way to do it.