PDA

View Full Version : Should story page captions to chat box show NPC image?



BobM
April 23rd, 2025, 01:57
Version 4.7.0 has gone live. I updated my system, and loaded in my Build campaign. The only extension I have loaded is "Close Windows".

When I open an NPC character sheet and click on the Speak As button, the new feature works as advertised.

When I open a story/book page, and click on a caption box to send it to the chat window, I do not get the NPC token.

Should this second method of having an NPC talk to the characters also have the NPC token?
64128
64129

See attached images.

Laerun
April 23rd, 2025, 02:29
The chat dialog box, does it have a speaker assigned, meaning before the text, there could be the need for the NPC name to populate. CTRL+Tab will add a spot to type in the chat bubble field to add an assigned speaker.

BobM
April 23rd, 2025, 02:43
Yes, the chat box dialog has a speaker assigned. I show that in the chat2 jpg.

And the illustration in chat1 jpg shows the NPC's name for both entries in the chat box.

It's just that the one I created from the NPC sheet, clicking the Speak As button, has a token, and the one from the chat box dialog text does not.

It's always good to check that I didn't miss something obvious and easy, but in this case I think I did that right.

Moon Wizard
April 23rd, 2025, 07:07
Currently, the speech bubbles in books are just text labels for the speakers; they are not tied to specific records like the Speak As button does.
That would be a different feature that would need to be built; which you can add to the Wish List in my signature.

Regards,
JPG

ddavison
April 23rd, 2025, 14:40
You can cheat this feature by having a Speak As option selected and then drag the chat bubble to the chat text input area. Then hit enter and it will look like that story text is spoken by the chosen NPC.

Vass_Dts
April 24th, 2025, 12:15
There used to be an extension that did what 4.7.0 does with token images in the chatbox. The only reason I stopped using it, was that the chatbox (at the time) did not support webp images (or so that's what the ext dev had said at the time). So, as we phased out png in favor of webp tokens, it kinda became useless to me.

Now, the added benefit that ext had, was that if a speech bubble had a speaker assigned, and an NPC with the same name was in the CT, then it would automatically "speak as" in the chatbox when you clicked the speech bubble. No drag n drop needed.

And it was really handy, because I did have some some "cinematic" stuff where two NPCs were talking to each other and I provided "subtitles" in the chatbox. Obviously, if I want to have token images for the speakers, having to switch speakers and drag'n'drop the text is simply not feasible. So it's a shame this doesn't pick it up. But, I do admit, my use-case is very much in the corner. :P

Moon Wizard
April 24th, 2025, 22:07
Something like that (checking CT names when non-user sender) should be do-able. I'll see if I can get that in next push.

Regards,
JPG

Moon Wizard
April 25th, 2025, 02:47
Just was pushing a hot fix; and pushed a change to fall back to CT name matching for chat speech.

Regards,
JPG

Vass_Dts
April 25th, 2025, 22:59
Works like a charm! You da man!