Page 1 of 1

Random numbers

PostPosted: Fri May 06, 2005 10:11 pm
by tom.drin
Hi, I´m doing some deathmatch game, and i need to respawn on random place.
So I need some generator of random numbers.
Is in GE somethink like that?

PostPosted: Sat May 07, 2005 10:53 am
by jazz_e_bob
int diceThrow = ( rand(6) + 1 );

PostPosted: Sat May 07, 2005 12:28 pm
by tom.drin
thanks