Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sun 13/07/2003 17:09:25

Title: DisplaySpeech %d problem
Post by: on Sun 13/07/2003 17:09:25
when i use DisplaySpeech(Ego,"you attack orc %d",orcnum);

it doesn't automatically remove the message like normal DisplaySpeech does, you have to click to get rid of it. I'm not displaying speech in a gui, and speech style set to sierra, it seems to not remove it no matter what the settings are.
Title: Re:DisplaySpeech %d problem
Post by: Scorpiorus on Tue 15/07/2003 21:43:45
I also checked that but it works fine for me. Are you sure you didn't use SetSkipSpeech(3); just before displaying a message?

-cheers
Title: Re:DisplaySpeech %d problem
Post by: on Wed 16/07/2003 19:13:58
thanks, no i'm not using SetSkipSpeech(3); anywhere in my script. It's a bit annoying having to constantly click as it's during a fight scene. The script itself is called from a GUI button does that matter?
Title: Re:DisplaySpeech %d problem
Post by: Gilbert on Thu 17/07/2003 02:30:12
In that case check if that GUI is set to something like "popup modal" or "on script", as the game is in "pause" mode when such a GUI is visible.
Title: Re:DisplaySpeech %d problem
Post by: on Thu 17/07/2003 07:11:10
Thanks. It is set to pop up modal  :) so If I turn it off before the speech is displayed I reckon that will solve the problem.

Thanks again for help.