Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: T-Pr on Fri 18/06/2010 14:19:39

Title: Walking consistently [ Solved ]
Post by: T-Pr on Fri 18/06/2010 14:19:39
Hello everyone , i have a problem and i think it has a very simple solution , but i have never tried it before so i don't know.

Now , in my room , i want the player named cDol to walk from one direction to another direction consistently. Like animation in the background .

I have those ;

cDol.Walk(271, 551, eNoBlock); // he will walk here
cDol.Walk(722, 533, eNoBlock); // and then again here [first position ( player start coordinates )]

but i don't know where should i put it or should i change something.

Also i tried to put it into Repeatedly Execute but it didn't work.
Title: Re: Walking consistently
Post by: Khris on Fri 18/06/2010 14:32:28
There are at least ten threads dealing with this very common problem. Too lazy to search one now though.
Title: Re: Walking consistently
Post by: T-Pr on Fri 18/06/2010 14:36:58
i didn't know which keywords i should use sorry,  if there is a solved topic , can anyone send me a link ?
Title: Re: Walking consistently
Post by: Crimson Wizard on Fri 18/06/2010 14:45:29
Try searching for "patrol" :)

Sample topic link: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=40122.0
Title: Re: Walking consistently
Post by: T-Pr on Fri 18/06/2010 14:48:00
thanks a lot , i'm not a native speaker , so i couldn't  think it. Thanks again.

Thanks a lot , i solved :).
Title: Re: Walking consistently [ Solved ]
Post by: Khris on Fri 18/06/2010 15:13:21
Yeah, sorry, I'll admit it's not obvious what to search for.