Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Fri 25/11/2005 17:14:30

Title: Character follows (continues) another character
Post by: on Fri 25/11/2005 17:14:30
Greetings:

I would like to know if it is possible that a character continues another.
That is to say, like in Indiana Jones and the fate of atlantis. Indiana walked and Sophia continued him/her.
That I would have to make?
some script of help?

Thank you to all those that you help.  :)

Lament my low English level.

A cordial greeting.
Title: Re: Character follows (continues) another character
Post by: Candle on Fri 25/11/2005 17:23:54
Example:

cMan.FollowCharacter(cEgo, 5, 80);

will make character MAN follow character EGO standing about 5 pixels near him and waiting for a while before he makes his move
Title: Re: Character follows (continues) another character
Post by: on Fri 25/11/2005 18:39:51
Thanks Candle.

it works perfect.
Title: Re: Character follows (continues) another character
Post by: Candle on Fri 25/11/2005 18:48:09
Your welcome.