Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mouth for war on Sat 09/01/2010 14:48:17

Title: Moving a character to another [Solved]
Post by: Mouth for war on Sat 09/01/2010 14:48:17
Ok maybe I have a complete mental meltdown (probably :D) but I can't find the answer in the AGS manual. I looked through all the Walkstuff. I have a small snail "walking" on a screen. If you use the handicon on it I want the player to walk to the snail even though he's constantly moving. wherever this little snail is I want the character to walk so he always gets like...5-10 pixels below him or so to be able to pick it up. I tried FollowCharacter but it didn't quite do the job.  Any suggestions? thanks
Title: Re: Moving a character to another
Post by: Mouth for war on Sat 09/01/2010 14:50:52
AHHH I'm so stupid...and forgetful sometimes. I solved it :D
Title: Re: Moving a character to another [Solved]
Post by: thehivetyrant on Wed 24/02/2010 00:07:49
Anyway you or someone could inform me of how you solved this.
I would like to know ^^
Title: Re: Moving a character to another [Solved]
Post by: discordance on Wed 24/02/2010 03:01:09
Just use:


player.Walk(cSnail.x, cSnail.y, eBlock);


or whatever the thing's name is.