Forum rules - please read before posting.

Subtitle menu - Characters Specific Option doesn't work properly

I have Narration subtitle menu (with "Narration Only" option) and Subtitle menus each assigned to another character  (with "Specific Character Only" option). When game displays narration lines, at the same time it mulitplies narration text as characters lines. You can see them on prinstscreen in red and black colors. When I apply one Subtitle menu to all characters ("Characters Only" option) all works fine. My AC version is 1.52a and Unity 5.3.4p6 

Thank you for great work

Łukasz  


image

Comments

  • Thanks for the report.  Could you post a screnshot of the properties box of your Subtitles menu, as listed in the Menu Manager?
  • Inside Speech.cs, there's a function named "MenuCanShow".

    Inside that function, replace the line:

    (menu.speechMenuType == SpeechMenuType.SpecificCharactersOnly &&

    with:

    (menu.speechMenuType == SpeechMenuType.SpecificCharactersOnly && GetSpeakingCharacter () != null &&
  • Thank you, it works very fine! :)

    There is one more issue. I have menu called 'Talkfriend prompt', with Run Action List on click. From MenuActionLists named 'Suggestion' it runs "Dialogue:Plays speech" by Speaker 'TalkfriendObject'.

    I have Subtilte Menu "SubtitleTalkfriend" with "Specific Characters Only" option and "Character limit to" this 'TalkfriendObject', but it does not work, no text is printed. When option is switch to "Characters Only" it prints 'TalkfriendObject' speech but multiplies all other characters dialogues too.

    By the way, is it possible to add an option -  "All non specific characters", "All the rest"  or something like that?

  • An "All except specific characters" would be a good addition, I agree.

    The character names you enter into the Menu are their display names, not their GameObject names.  If you've written a separate display name into the NPC Inspector, you'll have to enter that into the box instead of TalkfriendObject.  Note that it's also case-sensitive.
  • Super! It works :) Maaany thanks!

    Łukasz

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.