Sounds do not test for color

Posted by Poromenos on Mon 07 Jul 2003 01:06 AM — 3 posts, 13,945 views.

Greece #0
I have this trigger:
<triggers>
<trigger
back_colour="8"
bold="y"
enabled="y"
match="^([A-Za-z]+) tells you '(.*?)'"
match_back_colour="y"
match_bold="y"
match_text_colour="y"
regexp="y"
sequence="100"
sound="C:WINNTMediaMicrosoft Office 2000WHOOSH.WAV"
text_colour="15"
other_text_colour="black"
other_back_colour="black"
>
</trigger>
</triggers>

It appears to be ignoring the color matching. Trace does not show it as matching, although the sound plays... Are sounds ignoring color matching?
Canada #1
If it won't do both of those at the same time, try colouring and calling a script, which uses World.Sound.
Australia Forum Administrator #2
You are right, that is a bug. I'll fix that next version. There is a primary match which plays the sound, and the secondary match that tests the colours.

For now, I suggest you do what Magnum suggests.