Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: ktalebian on Sun 19/02/2006 03:41:04

Title: Leaving Room
Post by: ktalebian on Sun 19/02/2006 03:41:04
Hi, so I created a hotspot. When clicked, the character moves first, then
Character - Move NPC to a different room
Player - Go to a different room

Now, how can I adjust the place the guy enters the next room?

thank you
Title: Re: Leaving Room
Post by: Ashen on Sun 19/02/2006 11:17:30
Use scripting instad of the Interaction Editor commands. Both of those commands esstentially call Character.ChangeRoom(..) (http://www.adventuregamestudio.co.uk/manual/Character.ChangeRoom.htm) (see the 'Text script equivalent code' box, at the bottom of the Editor window) , running that directly (in a 'Run script' interaction) allows you to specify coordinates in the new room.

Other than that, there should be a 'Player - Go to a different room (at specified coordinates)' command that does the same thing for the Player character, but I don't think you can do it for NPCs without scripting.
Title: Re: Leaving Room
Post by: on Sun 19/02/2006 20:38:50
A feature should be added to do this using interactions  :-\
Title: Re: Leaving Room
Post by: A�rendyll (formerly Yurina) on Mon 20/02/2006 09:46:16
I agree on Minigun_Fiend.

It's a command a lot of people may want to use, so *maybe* I'll add it to the suggestions on the Technical Forum.
Title: Re: Leaving Room
Post by: Gilbert on Mon 20/02/2006 10:04:30
I'd merged that into an old similar thread (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=25198.0), so to revive it as it certainly didn't get as much interest as expected. :)