Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: K-Holed on Fri 04/04/2008 01:16:00

Title: Hotspot interactions
Post by: K-Holed on Fri 04/04/2008 01:16:00
Hi

I'm new to all this lark, but I'll try and make this brief.  I'm doing some tests with rooms and interations etc, and I wanted a MI2 type GUI ... so I downloaded the template.  Everything seems to work as expected until ... I add a hotspot.  When the character goes to interat with the hotspot, he promptly walks all the way to the righthand side of the screen and then does what I asked him to do ... any thoughts?

Thank you in advance

//James
Title: Re: Hotspot interactions
Post by: Khris on Fri 04/04/2008 06:45:06
Have you checked the template's documentation?
Afaik, you have to put e.g. if (MovePlayer(210, 133)) { right at the start of the interaction code to set the hotspot's walkto point.