Go back one room

Started by Big Nerd, Sat 07/04/2007 22:16:22

Previous topic - Next topic

Big Nerd

Hy,
in my game I have a map where you can choose to where you wanna go and there is an button for you to exit the map and go back to the room that you were. How can I make the game go back one room when you press the button?

strazer

player.ChangeRoom(player.PreviousRoom);

Big Nerd

Ok. Thanks! And... sorry for posting in the wrong forum.

strazer


SMF spam blocked by CleanTalk