Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Mon 10/04/2006 17:40:50

Title: Random Number Generator
Post by: on Mon 10/04/2006 17:40:50
Is there any random number generator incorporated into AGS? You know, like there's the "rnd" (something like that) function in Visual Basic.
Title: Re: Random Number Generator
Post by: DoorKnobHandle on Mon 10/04/2006 17:44:35
There is. The function is called "Random ( int max )". Please look it up in the manual (press F1) - and look stuff like this up the next time before posting here please.

Feel free to ask again in this thread if you have troubles implementing and using this function! Good luck.
Title: Re: Random Number Generator
Post by: on Mon 10/04/2006 17:55:02
Argh, sorry for that. But, hey, everyone's allowed one stupid thread, arent they? ;D


DISCLAIMER: I DO NOT IN ANY WAY CONDONE MAKING STUPID THREADS LIKE THIS. IF ANYONE DOES SO, THEY DO IT AT THEIR OWN RISK.