Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / rnd randomizing

Author
Message
blank
21
Years of Service
User Offline
Joined: 4th Mar 2003
Location: My Computer
Posted: 11th Apr 2005 07:54
hey all, im finally starting work on my management game, it simple but its coming along nicely, my question is, with the randomize statement, what valu am i supposed to put in to get a completely random value each time i open the program, so the rnd value doesnt stay the same everytime. thanks

Formely Blank as a plank
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 11th Apr 2005 10:56
randomize timer()

It sets the seed for randomisation to the timer, which is always changing.

blank
21
Years of Service
User Offline
Joined: 4th Mar 2003
Location: My Computer
Posted: 12th Apr 2005 03:52
ahh good man ric, thanks

Formely Blank as a plank

Login to post a reply

Server time is: 2024-09-23 17:26:43
Your offset time is: 2024-09-23 17:26:43