???In AGS when on Room Editor-Settings, click on the interaction button and you can select some options like charactor walks of left of screen etc. I want the charactor to change rooms when he walks of the screen. How do you make the charactor do that?
Because you have to type in the room number and the Edge+OffsetValue. What is the Edge+OffSetValue and how do you calculate it? ???
In the engine, in Room Editor, Settings, you'll see yellow lines. Four, one on top, bottom, left, right. You can move these lines by clicking and draging them to a specified place in your room. Then...go to your interactions editor. Walks off whatever direction you wanted...double click and choose Player Go to A different room at specific coordinates (or just Player goes to a different room, if you don't care where he is in the next room). Specify the room number and the x and y location of the next room (if that's what you chose). Hope this answers your question.
-MillsJROSS
or you can choose RUN SCRIPT and fill in
NewRoom(2) // or whatever number of room
or you can do this one
NewRoomEx(2,20,140); // now you'll load room2, and set player at x-coordinate 20 and y-coordinate 140!
Quote from: Mike on Sat 12/07/2003 19:54:47
Because you have to type in the room number and the Edge+OffsetValue. What is the Edge+OffSetValue and how do you calculate it? ???
I think that number is used by an older version of AGS to determine how far from the screen edge you will be when you arrive at new room. Can anyone verify this?
Best option would be player go to room at specific coordinatess (NewRoomEx) so you have more control.
Quote from: evilspacefart on Sun 13/07/2003 00:49:03
Quote from: Mike on Sat 12/07/2003 19:54:47
Because you have to type in the room number and the Edge+OffsetValue. What is the Edge+OffSetValue and how do you calculate it? ???
it doesn't really matter. i just ignore it. just type in the room number