The (optional) sprite of the character has to be located in the path given by the concatenated string:"dialogs/" .. dialog.animation_spriteand the animation used is the one given by the string: dialog.animation