ID:165825
![]() Oct 26 2006, 3:27 pm
|
|
I have a few tittle screens that I have for my game but I need to know how to have it randomly choose one for a player to see when him/her logs in to play.
|
![]() Oct 26 2006, 3:28 pm
|
|
Use pick() rand() or prob().
|
Place each picture anywhere on the map and teleport the player on login to a random one
Heres a quick and simple way to do it using rand mob/Login() And the same for 2 and 3 but different X,Y and Z's and someone beat me to it. |
mob |
You could have a turf or area (or mob or obj, whatever) that's positioned at the centre of each title screen, and then using the pick command you could make the code much more robust, eg;
mob/Login() And then you'd place down the titleScreen turf in the centre of every title screen, and... run it. - Conj' |