Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Captain Mostly on Thu 19/06/2003 13:30:18

Title: WOO! NON-BLOCKING TEXT!!!
Post by: Captain Mostly on Thu 19/06/2003 13:30:18
hello!

is there any way I can get characters to speak WITHOUT pausing the game at all even a little bit.

It's VERY important I find out how to do this, otherwise I'll cry (boo hoo hoo!)
Title: Re:WOO! NON-BLOCKING TEXT!!!
Post by: SSH on Thu 19/06/2003 13:41:50
For the respected creator of Veg Patch Extreem Turbo and RLBAT, can't you RTFM?  ;) ::) :P >:(

"DisplaySpeechBackground (CHARID, string message)

Similar to DisplaySpeech, except that this function returns immediately and the game continues while the character is talking. This allows you to have characters talking in the background while the player does other things. Note that the character's talking animation is not played if this function is used."
Title: Re:WOO! NON-BLOCKING TEXT!!!
Post by: Fuzzpilz on Thu 19/06/2003 14:01:35
...and if you want the talking animation to play, use AnimateCharacter. You'd have to put something in the RepeatedlyExecute to check if the character is still talking (using IsOverlayValid) so you can stop the animation at the right moment.
Title: Re:WOO! NON-BLOCKING TEXT!!!
Post by: Captain Mostly on Thu 19/06/2003 15:52:30
GAH! I AM FOOL!