SUGGESTION: Play character speech (voice/talkie) non-blocking?

Started by monkey0506, Sat 03/01/2009 18:10:15

Previous topic - Next topic

monkey0506

Is it possible to play a character's speech in a non-blocking fashion? I'm trying to take advantage of the built-in voice-speech methods while displaying the speech in the background and running the speech animation (non-blocking).

Display seems to prevent the animation from getting run, and Character.Say prevents the Overlay getting created. Further, both of these block the game.

Now a Any suggestions?

Pumaman

Voice speech is currently only supported with a blocking Character.Say command.

monkey0506

Correctified. :=

WORKAROUND: Use sound files instead of speech. :P

Reasoning: To allow custom module scripts access to play back a speech file without having to use a blocking command.

Shane 'ProgZmax' Stevens

Yes, I've done this myself.  I think it would be a logical improvement for SayBackground to support voice files, though.

Pumaman

Then would come the question of what happens if two SayBackgrounds overlap, or one overlaps with a normal Say command... do both the voice files play on top of each other?

Anyway, yes I agree that SayBackground should support voice speech and also playing the speech animation, I'll try to get round to it at some point.

SMF spam blocked by CleanTalk