Hi Khris.
It's me again!
As you know I am using AGS 2.72.
I am also having probs with changing rooms. Since learning more about scripting I have been changing everything to script rather than using the predifined lines within the editor. However in the editor it says "Player - Go to a different room (12,0)" which works just fine. The player leaves the left side of the screen and appears in the next room on the right side.
But when I change this to pure script "player.ChangeRoom(12);" as it states in the "Text script equivalent code" the player leaves the left side of the room and appears in the next room on the left side (Which is wrong as he is then stuck in a wall).
The only way I can get it to work is to assign X and Y cords to "player.ChangeRoom(12,309,157);"
Is this the way to do it or am I missing something here?
Thanks. Jay.
It's me again!

As you know I am using AGS 2.72.
I am also having probs with changing rooms. Since learning more about scripting I have been changing everything to script rather than using the predifined lines within the editor. However in the editor it says "Player - Go to a different room (12,0)" which works just fine. The player leaves the left side of the screen and appears in the next room on the right side.
But when I change this to pure script "player.ChangeRoom(12);" as it states in the "Text script equivalent code" the player leaves the left side of the room and appears in the next room on the left side (Which is wrong as he is then stuck in a wall).
The only way I can get it to work is to assign X and Y cords to "player.ChangeRoom(12,309,157);"
Is this the way to do it or am I missing something here?
Thanks. Jay.