Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: AngelSnes on Thu 07/05/2020 01:10:13

Title: [Solved] Dialog Option plays sound, but displays "&1" in the menu
Post by: AngelSnes on Thu 07/05/2020 01:10:13
Hello guys, I'm hoping someone can help me resolve this minor but annoying issue:


So far I have been able to resolve all issues I've come up with by looking around the forums and other sources on the internet, however one that I can't figure out, is how to prevent the menu from displaying "&1" at the beginning of an option.

The speech/voice plays correctly, and the speech itself comes out without the "&1" at the start, however only in the menu where you select the option, does it display the reference to the voice file.

I've dug around the manual and forums but can't seem to find anything specific to a correct way to reference speech audio in the dialog options to prevent this behaviour.


If anyone could point me in the right direction, I would massively appreciated it!


Thank you!
Title: Re: Dialog Option plays sound, but displays "&1" in the menu
Post by: Lewis on Thu 07/05/2020 07:10:47
Sounds like AGS doesn't know to edit dialog audio instructions out of options.

Remove the &1 from the option, uncheck the 'say' box next to it, and then have selecting that option simply make your character say that in the dialog script itself.

So your option would now be 'This is a line of dialog', with "show" checked but "say" unchecked.

And when you select that option, it sends you to:

Code (ags) Select
Character: &1 This is a line of dialog.
Title: Re: Dialog Option plays sound, but displays "&1" in the menu
Post by: AngelSnes on Thu 07/05/2020 12:54:28
Hello Lewis,


Thank you very much for pointing that out, it works like a charm!


Cheers