PDA

View Full Version : Certain Syrinscape Triggers not working



Farnaby
June 14th, 2023, 07:41
Using the PF2 ruleset.

I've created a new Sound Set called Test.
I've added a new Item, selected the type "Trigger" and dragged a Battle axe from the item list onto it.
The pattern is filled with "Battle axe"
I've dragged a sound from Syrinscape into the sounds.

Result:
The sound only plays when the Subtype "Chat" is selected. All other subtypes (Attack - MISS, etc.) do not start the sound.

Trenloe
June 14th, 2023, 10:47
For the "Attack" subtypes, FG will look at the attack result line. If you use a pattern of "battle axe" then FG will match on that in the attack result line only, not in the initial roll line.

Refer to the screenshot below. "Battle axe" is not in the attack result line, so there won't be a match of "Attack" subtypes. The "Chat" subtype is matching on any line in chat.

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=57714

The attack result string was simplified over two years ago (April 20th, 2021 to be exact) as it was getting very cumbersome to include all of the roll text - which could include lots of traits and other text that made the chat window "busy" just repeating the same text from the roll.

I can look into including just the initial text - e.g. [ATTACK (M)] and the attack name in the attack result chat output to allow sound attack result matching to specify the attack name.

Farnaby
June 14th, 2023, 13:32
That would be spiffy.
Otherwise I can only use 1 sound for each attack result and not differentiate between spell, weapon type, etc.

Trenloe
June 14th, 2023, 13:40
That would be spiffy.
Otherwise I can only use 1 sound for each attack result and not differentiate between spell, weapon type, etc.
Already done, just waiting for it to go through the hotfix update process.

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=57716

I've also capitalized the attack names (just for weapon attacks at this stage) to help match entries that are currently in the 5E PHB sound links module (until we get a PF2 version).

Trenloe
June 14th, 2023, 18:36
The update has been pushed to live: https://www.fantasygrounds.com/forums/showthread.php?78074-Release-Updates-for-June-13th-2023&p=689408&viewfull=1#post689408

Thanks for making me aware of the issue.

Farnaby
June 14th, 2023, 22:18
Hmm,

still not triggering.
57733

If I change the Subtype to chat, it triggers.

Trenloe
June 14th, 2023, 22:28
Hmm,

still not triggering.
57733

If I change the Subtype to chat, it triggers.
It's case sensitive. Use Battle Axe - capital A. As I noted earlier, the code will capitalize the attack name - so that you will always use leading capitals for the attack result matches.

Farnaby
June 14th, 2023, 22:33
It's case sensitive. Use Battle Axe - capital A. As I noted earlier, the code will capitalize the attack name - so that you will always use leading capitals for the attack result matches.
Got it, works now.
Thanks for the extremely rapid response and fix.

Trenloe
June 14th, 2023, 22:50
Got it, works now.
Thanks for the extremely rapid response and fix.
You're very welcome. Glad you got it working!

masterqgj
June 16th, 2023, 21:27
Sadly i have the same issue and am not sure why it happens. I use starfinder and i believe (!) that i did setup the sound settings correctly, but in case i have a screenshot attached. any help is welcome :)

My thanks in advance.

57772

7H3LaughingMan
June 16th, 2023, 21:35
Sadly i have the same issue and am not sure why it happens. I use starfinder and i believe (!) that i did setup the sound settings correctly, but in case i have a screenshot attached. any help is welcome :)

My thanks in advance.

57772

From my testing, all the patterns need to match for it to trigger. In your case it needs to have both "Needler rifle, advanced" and "Focus rifle", you need one entry per weapon.

Trenloe
June 16th, 2023, 21:41
Sadly i have the same issue and am not sure why it happens. I use starfinder and i believe (!) that i did setup the sound settings correctly, but in case i have a screenshot attached. any help is welcome :)

My thanks in advance.

57772
Like I said above - the patterns are case sensitive. Look at the text in the attack result in chat, not at the base weapon name - FG capitalizes the first letter of each word so that there is a repeatable format in the chat window. Change your pattern to Focus Rifle - capital R.

masterqgj
June 16th, 2023, 21:49
my bad - you're right. i've added to many patterns. I thoug they're an "OR" condition, not an "AND" :( my fault. Thank you very much