Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Wed 18/02/2004 23:21:23

Title: Dialogs- New Room
Post by: on Wed 18/02/2004 23:21:23
Ok, in my game, I have a part where you click on a door, and a dialog pops up that lets you choose from a dialog tree to which place you'd like to go to. It works fine, but the problem is, you can't designate the coordinates of where you want the character to go.

What do I use to make the character go where I want them too when they enter the room?
Title: Re:Dialogs- New Room
Post by: Wolfgang Abenteuer on Thu 19/02/2004 00:51:07
You mean you want them to instantly appear at specific coordinates in the new room?  If that's the case, just use NewRoomEx instead of NewRoom.

~Wolfgang
Title: Re:Dialogs- New Room
Post by: on Thu 19/02/2004 03:04:41
But can you use NewRoomEx in a dialog?
Title: Re:Dialogs- New Room
Post by: Scoville on Thu 19/02/2004 04:17:20
You can use the "run-script x" command in a dialogue, which allows you to run a global script. In that global script you can use any scripting command you normally could, including NewRoomEx.