You are not logged in.
Pages: 1
Hey,
In GM8 there is a function called irandom_range. This returns an integer(!) between argument0 and argument1. This (very small) script is exactly the same, so you can use it in GM7< as well:
return floor(random(argument1-argument0+1))+argument0;
Last edited by BlueMoonProductions (2010-08-25 14:30:40)
Offline
Hi Blue, welcome to the forums.
Scripts looks good. Very handy function.
Abusing forum power since 1986.
Offline
Pages: 1