Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Fri 20/06/2003 14:07:45

Title: Character positions
Post by: on Fri 20/06/2003 14:07:45
On my game, when I enter one of the rooms, the character appears in a non-walkable area.  I know how to change the start position, but this only affects the first room.  Could anyone tell me how to change the start position for another room?
Title: Re:Character positions
Post by: Squinky on Fri 20/06/2003 14:56:40
on the interaction area that you are using for the room change, scroll down thru the list and pick run script, then edit that script and add this function:

NewRoomEx (1,160,160);

the first number is the room, the last two are the x,y, just like you set for the first room.

Have fun with ags and welcome to the forums...