Changing Rooms

Started by , Wed 13/09/2006 13:55:41

Previous topic - Next topic

jdd555

I have read the manual, i really don't understand how to make my character leave the room, and enter a new room. I have tried the "walk off bottom" room interaction but he just stands there. any help would be appreciated.

Joe

#1
Draw a region on the screen part you want the player leaves the room.
Then click on interaction buttom and click with the second muse buttom on "player wals onto region", the click on "New run-script action:
You will get a script screen, then, type there:
Code: ags

player.ChangeRoom(X,coordinate x, coordinate y);

where X is the new room the player goes to, and you can set the coordinates aswell.

Copinstar © Oficial Site

jdd555

Thank You very much.
now my adventure is not limited to 1 room.

SMF spam blocked by CleanTalk