Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Anarcho on Wed 23/03/2005 18:40:36

Title: talking animation on only sometimes
Post by: Anarcho on Wed 23/03/2005 18:40:36
I've been experiencing this strange problem where the main character and npc talking animations only work SOMETIMES.  For example, the talking animations usually work fine for characters when the EGO initiates a conversation with them.  However, when the EGO looks at an object or npc, and the npc talks in response, the talking animation doesn't work, even when the message is coming from that character.  Additionally, during the opening cutscene the main character and an npc talk but their talking animations don't work. It used to work fine, but now it doesn't.

Is there an easy explanation for why this couple be happening?
Title: Re: talking animation on only sometimes
Post by: Goot on Fri 25/03/2005 03:36:07
Go check your views and make sure that all the loops have the right frames. You could only have a few of the loops right, so that the talking view only works if the character is facing a certain direction. Also, if you're using DisplaySpeechBackground, it won't play the talking animation.
Title: Re: talking animation on only sometimes
Post by: Anarcho on Tue 12/04/2005 03:13:43
I'm actually using DisplaySpeech when this becomes a problem.  When I use DisplaySpeech the talking animation doesn't run.  Is that normal?  How can I display speech as spoken by the player with the talking animation?
Title: Re: talking animation on only sometimes
Post by: Candle on Tue 12/04/2005 04:20:09
It should work ?

Example:

DisplaySpeech (EGO , "My name is ego");

will display the message above the character's EGO head like the LEC games and play the character's talking animation.
Title: Re: talking animation on only sometimes
Post by: Anarcho on Tue 12/04/2005 21:23:56
It should but it doesn't.  As my game is getting larger and larger I keep encountering wierd things like this, and I always wonder if some code somewhere has effected something else.  Maybe a beta tester or some other kind soul can figure it out for me when it gets to that.