Total-RP / Storyline

A World of Warcraft add-on that improves the questing experience by replacing the default dialog frame by a more immersive frame with 3D models.
https://www.curseforge.com/wow/addons/storyline
14 stars 6 forks source link

Multi-paragraph emotes #26

Closed Solanya closed 6 years ago

Solanya commented 6 years ago

Some quests in Battle for Azeroth are displaying multi-paragraph emotes that aren't currently supported in Storyline (as it is only checking for a < at the start of the text).

What this new code does :

Video of the code working in Boralus

I'll have to run through quests again to check if they ever open an emote in the middle of a text, as I don't think this behaviour is currently supported by Storyline. The multi-paragraph code would work, but I'm not 100% sure the color would be applied to the beginning of the emote.

This code doesn't expect Blizzard to make nested emotes. I'm calling the police if they do.