PDA

View Full Version : Syrinscape Triggers question



PerfectConsumer
June 22nd, 2023, 00:18
Hello there,
I am trying to make table results output into chat trigger a sound effect, but I can't seem to figure it out. Anybody have any ideas?

Also, where can I find the animated brushes I saw demonstrated in the update video? I cannot locate them. Does anybody know what they are called?

Thanks!

Moon Wizard
June 22nd, 2023, 00:46
The chat triggers in the soundset link system must be set up to match text found in the chat message that is output to the chat window. If you output "A bird is heard singing. [PLAYBIRDSOUND]" in your chat message and you set up a soundset chat trigger record with the pattern "[PLAYBIRDSOUND]", then one of the URLs for the sound links specified in the soundset should be called.

For the animated brushes, some of those are coming soon as part of next month's art pack updates. Our artist typically previews new art assets prior to their release.

Regards,
JPG

PerfectConsumer
June 22nd, 2023, 03:09
Thanks for the info.
To clarify, I understand how triggers work. I've been using them for years with the old MK tools, but cannot seem to get them to work now with this update...

Specifically, when trying to output from a table into the chat it doesn't seem to trigger the selected sounds. I was hoping for some sort of explanation as to why.

cas206
June 22nd, 2023, 04:10
+1

Just ran a game with new audio system enabled. I had both PHB and MM modules purchased and loaded. Was running a combat from Storm King's Thunder. The context giant sounds and moods were working when I hit play, but no trigger based sound effects were working. No spell effects, weapon hits, etc.

Moon Wizard
June 22nd, 2023, 06:56
@PerfectConsumer,
When the popup that asks you to allow a URL comes up, instead of hitting Yes to All, just hit Yes. In that way, you can see if the trigger is firing at all. If not, please show the chat message and soundset that you set up in a screenshot, so we can all look at it.

@cas206,
Did you have the PHB sound links loaded? Can you try reverting the module by right clicking on the module in the Library->Modules window? Does it work after that? Are you running any extensions? They could be modifying the output as well.
If that doesn't work, could you also post your chat output?

Regards,
JPG

cas206
June 22nd, 2023, 17:23
@cas206,
Did you have the PHB sound links loaded? Can you try reverting the module by right clicking on the module in the Library->Modules window? Does it work after that? Are you running any extensions? They could be modifying the output as well.
If that doesn't work, could you also post your chat output?

Regards,
JPG

Well I royally messed up that debugging session. Lesson learned: Make sure you roll attack against a target and not just roll an attack. I checked modules and confirmed PHB soundset was loaded. I proceeded to remove extensions one by one and throw an attack to see if it would start working. I got to no extensions and still not working. Then realized, too late, I needed to roll on a target. I rolled on a target with no extensions and sounds worked. I added all the extensions I had loaded before and it was still working. <confused shrug> During my game session, players were using targeted attacks, so that wasn't the issue.

Bottom Line: It's working now.

PerfectConsumer
June 23rd, 2023, 04:36
@PerfectConsumer,
When the popup that asks you to allow a URL comes up, instead of hitting Yes to All, just hit Yes. In that way, you can see if the trigger is firing at all. If not, please show the chat message and soundset that you set up in a screenshot, so we can all look at it.

@cas206,
Did you have the PHB sound links loaded? Can you try reverting the module by right clicking on the module in the Library->Modules window? Does it work after that? Are you running any extensions? They could be modifying the output as well.
If that doesn't work, could you also post your chat output?

Regards,
JPG

Thanks for your help here...
To clarify (again... sorry so vague initially) I know about allowing the URL, having used the old system for some time. That is unfortunately not the issue.


UPDATE: I don't know how - maybe today's update, but the trigger now works. Hurrah! I am liking these new features. Thanks for offering assistance!

Follow up question: What in the wide world of sports is REGEX?

LordEntrails
June 23rd, 2023, 05:13
REGEX is short for Regular Expression. It is a programming... tool used to allow complex search patterns. So rather than just *room* to find anything with the word room in it, you can specify specific characters or ranges, quantities and all sorts of things. More info: Regular expression - Wikipedia (https://en.wikipedia.org/wiki/Regular_expression)

Moon Wizard
June 23rd, 2023, 06:15
To be clear, it's Lua's version of pattern matching (not like other implementations of regular expressions in other scripting languages).

More information on the Lua version of pattern matching can be found here:
https://www.lua.org/pil/20.2.html

Regards,
JPG

Trenloe
June 23rd, 2023, 11:29
UPDATE: I don't know how - maybe today's update, but the trigger now works. Hurrah! I am liking these new features. Thanks for offering assistance!
Yep, it was the update - info in this post: https://www.fantasygrounds.com/forums/showthread.php?78259-Sound-Chat-Triggers&p=690715&viewfull=1#post690715

ddavison
June 23rd, 2023, 17:30
One thing that recently cropped up in another debugging scenario was that the GM was playing around with setting up new sounds and had them unfinished and with no sounds attached. These were technically "matching" and this made them become the active trigger. It blocked the actual triggers from firing because this blank one was firing instead. Removing those fixed the issue.

If you have everything set up properly and don't hear anything firing, then check to see if you have any custom/home-made triggers that might be getting fired instead.