Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Nintengame on Sun 28/05/2006 21:30:23

Title: stuck in new room
Post by: Nintengame on Sun 28/05/2006 21:30:23
When ever my charecter goes to another room, he's stuck on a non-walkable area. How can I choose where he starts in the new room?
Title: Re: stuck in new room
Post by: Akumayo on Sun 28/05/2006 21:34:09
The ChangeRoom function allows to specify x and y coordinates.

Intead of:

cEgo.ChangeRoom(2);


Do this:

cEgo.ChangeRoom(2, 160, 100);


That would change to room 2, and put Ego on coordinates 160, 100.

All this is explained very clearly in the manual.
Title: Re: stuck in new room
Post by: Nintengame on Sun 28/05/2006 21:37:14
Quote from: "Nerezza Terra" Akumayo

All this is explained very clearly in the manual.
sorry if it is. I can't access the manual.

----------------
Edit*
I can't script! How do i get to the changeroom function???
Title: Re: stuck in new room
Post by: Scummbuddy on Sun 28/05/2006 22:15:37
A) How can you not access the manual? It is the same thing as the help file. You can access this from either within AGS by going to the Help task bar dropdown list, or selecting the file within the same folder you unzipped ags into.

Is the problem that your system doesnt want to read/open the Microsoft Helpfile program?

B) What do you mean, "How do I get to the function"
Using the interaction editor, say, for instance, you have it so that when someone walks onto a region you designate, you then start an "interaction" and then select a new interaction, for when character stands on region, and then select run script and when you go to edit the script, you would put in your new room code, with appropriate values to land your new character on the new rooms walking area.
Title: Re: stuck in new room
Post by: Nintengame on Sun 28/05/2006 22:19:28
thank you guys. I'm sorry that I can't get the manual
Title: Re: stuck in new room
Post by: Nintengame on Sun 28/05/2006 22:35:38
Grrr... I still can't get it. I need a scripter
Title: Re: stuck in new room
Post by: MashPotato on Sun 28/05/2006 23:16:49
I've been having trouble accessing the manual as well, whether in AGS or opening the help file included with AGS (the page cannot be displayed), so maybe this is a fairly common problem.  I have been using Strazer's compiled htm version of the 2.70 manual instead.
Title: Re: stuck in new room
Post by: Khris on Sun 28/05/2006 23:22:32
The online version of the manual can be found here (http://adventuregamestudio.co.uk/manual).
Title: Re: stuck in new room
Post by: strazer on Mon 29/05/2006 08:55:35
MashPotato: Do any of these solutions work?: http://www.drexplain.com/press/chm-files-the-page-cannot-be-displayed-error/
Title: Re: stuck in new room
Post by: MashPotato on Mon 29/05/2006 15:42:17
I feel so silly, all I had to do was unblock it to see it =^_^=.  Thanks Strazer!
Title: Re: stuck in new room
Post by: strazer on Mon 29/05/2006 15:56:03
No prob. Thanks for letting me know. :)
Title: Re: stuck in new room
Post by: Ashen on Tue 30/05/2006 15:39:40
Nintengame, did any of them work for you? If not - what exactly is the problem when you try to view the manual?