RonnieJ 10 Posted December 15, 2009 Hey guys... any idea why this is not working? rNumber = round(random 1000); while {rNumber > 950} do { rNumber = round(random 1000); hint format["nummer: %1",rNumber]; } also tried with while "rNumber > 950" do { Got another question... anyone know how to make a random x/y coor from a allready created marker? Share this post Link to post Share on other sites
shuko 45 Posted December 15, 2009 1) It only runs the while if the first random returns higher than 950. Chances are not very likely however. 2) http://forums.bistudio.com/showthread.php?t=89376 Share this post Link to post Share on other sites
RonnieJ 10 Posted December 19, 2009 Ah right it should havde been < insteed... And great script m8 thx alot :) Share this post Link to post Share on other sites