Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Retain speech bubble on tokens #140

Open
diwako opened this issue Jul 30, 2023 · 1 comment
Open

Feature Request - Retain speech bubble on tokens #140

diwako opened this issue Jul 30, 2023 · 1 comment

Comments

@diwako
Copy link

diwako commented Jul 30, 2023

Hey,
Right now Theatre inserts overwrites that part of the message object which is used to show who is speaking, thus no speech bubbles show up. Be it if a theatre insert is used or not for a token speaking.

I got a few requests from my players to retain those speech bubbles, thus I am asking for a setting to retain that information, regardless if an insert is used or not.

@merlandmiller
Copy link

Not an actual fix but i was hacking around with this and if you add this code

if (chatMessage.speaker && chatMessage.speaker.token){
    let token = canvas.tokens.get(speaker.token);
}

into the next to last line of Hooks.on("preCreateChatMessage", function (chatMessage)
right above chatMessage.updateSource(chatData);
in
AppData\Local\FoundryVTT\Data\modules\theatre\app\js\theatre_main.js

then i got it to work for me. will obvously gett overritten on next update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants