stuck in new room

Started by Nintengame, Sun 28/05/2006 21:30:23

Previous topic - Next topic

Nintengame

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?

Akumayo

The ChangeRoom function allows to specify x and y coordinates.

Intead of:
Code: ags

cEgo.ChangeRoom(2);


Do this:
Code: ags

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.
"Power is not a means - it is an end."

Nintengame

#2
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???

Scummbuddy

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.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Nintengame

thank you guys. I'm sorry that I can't get the manual

Nintengame

Grrr... I still can't get it. I need a scripter

MashPotato

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.

Khris

The online version of the manual can be found here.


MashPotato

I feel so silly, all I had to do was unblock it to see it =^_^=.  Thanks Strazer!

strazer

No prob. Thanks for letting me know. :)

Ashen

Nintengame, did any of them work for you? If not - what exactly is the problem when you try to view the manual?
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk