previous room?

Started by AndersM, Sat 21/02/2004 19:51:47

Previous topic - Next topic

AndersM

Is there any 'go back to previous room' -feature?

Scorpiorus

There is a global variable - character[CHARID].prevroom that specifies the room CHARID was in before.

To load a prevoius room you can type in:

NewRoom(character[GetPlayerCharacter()].prevroom);

~Cheers

AndersM


SMF spam blocked by CleanTalk