Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Terminator on Wed 07/05/2003 05:02:02

Title: How to stop characters while talking...
Post by: Terminator on Wed 07/05/2003 05:02:02
All right, I want in my game so that, when I have my character speaking (text), that the bad guy character stops moving.  The bad guy goes after my character when he enters the room and when they touch my character dies, but the bad guy still comes after my character, when he's speaking to you.  So how do I stop him.  I looked but can't find a character variable on character talking == 0, so can any one help me?
Title: Re:How to stop characters while talking...
Post by: Squinky on Wed 07/05/2003 05:33:15
If your using Followcharacter to have the badguy chase after him, you could just set the follow off while he talks....

I believe theres a variable to do this with at least one of the varietys of followcharacter...
Title: Re:How to stop characters while talking...
Post by: Pumaman on Wed 07/05/2003 20:46:36
The solution is to use  StopMoving  before  RunDialog - or make your own custom StartDialog function or something which runs it for you.
Title: Re:How to stop characters while talking...
Post by: Terminator on Thu 08/05/2003 06:38:24
Well, that was simple, the stopmoving command worked, I though it wouldn't.

Thanks Squinky, and Chris Jones.