In the game wizardry 8, whenever events happen, a character would play a sound file tied to their voice choice.
While playing this file, the portrait of the character would animate. I believe, and how I'm working on setting mine up, this was done by having a background portait. and then 3-4 different eyes and about 10+ mouths for different expressions.
What I want to do is set it up that the script would replace the various facial parts as apporiate when they use that line.
So if one voice said "Oh, My!" the portrait would play the O wait a little, then play Mm then follow up with an i mouth.
Meanwhile it would also take care of the eyes, blinking them as needed, and restarting after a blink or clench was done.
This right now is mostly seeing if its do-able, or If I have whole image files all together, rather than having it split into the proper parts. There will also be need for a script to have the poraits on the UI flanking it.