Random Number Generator

Started by , Mon 10/04/2006 17:40:50

Previous topic - Next topic

st_gobulis

Is there any random number generator incorporated into AGS? You know, like there's the "rnd" (something like that) function in Visual Basic.

DoorKnobHandle

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.

st_gobulis

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.

SMF spam blocked by CleanTalk