Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: jamesreg on Mon 22/03/2010 17:19:46

Title: How to get a character to stop following
Post by: jamesreg on Mon 22/03/2010 17:19:46
I see the command to get a character to follow another player but how do you tell him to stop following
Title: Re: How to get a character to stop following
Post by: NsMn on Mon 22/03/2010 17:39:43
set "chartofollow" to "null" (without the quotes).
Title: Re: How to get a character to stop following
Post by: Dualnames on Mon 22/03/2010 19:56:33
Not that NsMn is wrong in any case, but to just help out a tiny bit more:


cEgo.FollowCharacter(null);