Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Professor Plum on Wed 30/09/2009 04:39:21

Title: Using Hotspots to teleport to a different room.
Post by: Professor Plum on Wed 30/09/2009 04:39:21
Alright, so I'm new to AGS and I'm starting to feel more and more confident to jump into making my own adventure game. However, I'm still fuzzy over a lot of aspects.

One of them is to use hotspots in order to immediately fade to a new room. The reason being is that I'm using different rooms for my cutscene intro and I want to jump to a new room when the player clicks. What is the appropriate thing to write for scripting in the Hotspot Events box?

Please and thank you.

Matt.
Title: Re: Using Hotspots to teleport to a different room.
Post by: discordance on Wed 30/09/2009 05:44:35
The same thing you'd usually use to switch to a new room, player.ChangeRoom(room, x, y). I should think.
Title: Re: Using Hotspots to teleport to a different room.
Post by: Professor Plum on Wed 30/09/2009 06:13:01
Thank you. Much obliged. Forgive me for such a simple question, but I couldn't find a specific answer anywhere else.