Hi,
Do it in OnConversationLine(Subtitle). By the time OnConversationLine runs, subtitle.formattedText.text will contain the text that the player will see, without markup tags.
Search found 20676 matches
- Thu May 02, 2024 11:46 pm
- Forum: Dialogue System for Unity
- Topic: How to set DialogueSystemController.overrideGetLocalizedText to work with Dialogue Editor
- Replies: 6
- Views: 36
- Thu May 02, 2024 10:50 pm
- Forum: Dialogue System for Unity
- Topic: OnConversationLine not being called when expected
- Replies: 3
- Views: 44
Re: OnConversationLine not being called when expected
Hi,
You can put your OnConversationLine(Subtitle) method on the Dialogue Manager and access subtitle.speakerInfo. That's what the example in How To: Color Actor Name and Indent Text does.
You can put your OnConversationLine(Subtitle) method on the Dialogue Manager and access subtitle.speakerInfo. That's what the example in How To: Color Actor Name and Indent Text does.
- Thu May 02, 2024 10:47 pm
- Forum: Dialogue System for Unity
- Topic: Compass Navigator Pro 2 (just released)
- Replies: 14
- Views: 298
Re: Compass Navigator Pro 2 (just released)
Great job tracking down the culprit! I don't recall which quest tracking script that is, but you might be able to modify it to not cause the issue, if you still need to use the script.
- Thu May 02, 2024 10:46 pm
- Forum: Dialogue System for Unity
- Topic: How to set DialogueSystemController.overrideGetLocalizedText to work with Dialogue Editor
- Replies: 6
- Views: 36
Re: How to set DialogueSystemController.overrideGetLocalizedText to work with Dialogue Editor
DialogueSystemController.overrideGetLocalizedText only applies to non-dialogue text. If you want to localize dialogue text without using any of the Dialogue System's localization features, here are two approaches: 1. If you want to do it at edit-time, write an editor script that adds the localized f...
- Thu May 02, 2024 4:51 pm
- Forum: Dialogue System for Unity
- Topic: Get the most recent Quest entry and store it as Playmaker variable
- Replies: 11
- Views: 127
Re: Get the most recent Quest entry and store it as Playmaker variable
Ah, you might need to add a check to the OnQuestStateChange(string questName) method. I updated the method in my previous post (but not in the example scene).
- Thu May 02, 2024 3:49 pm
- Forum: Dialogue System for Unity
- Topic: Dialogue System improvements over Adventure Creator's built-in system
- Replies: 1
- Views: 15
Re: Dialogue System improvements over Adventure Creator's built-in system
Hi, The downside is the extra work of learning an additional asset (Dialogue System) and setting up the integration. Some of the upsides are: More control over logical branching of conversations based on variables, etc. Ability to import from external editors and formats such as articy:draft, Arcwea...
- Thu May 02, 2024 3:39 pm
- Forum: Quest Machine
- Topic: Active Quests not showing the Image of the quest entity
- Replies: 8
- Views: 54
- Thu May 02, 2024 3:33 pm
- Forum: Dialogue System for Unity
- Topic: Get the most recent Quest entry and store it as Playmaker variable
- Replies: 11
- Views: 127
Re: Get the most recent Quest entry and store it as Playmaker variable
Yes. Move your Caption Text where it's not inside your dialogue UI. It must still be in a Canvas, though, since that's a requirement for Text or TextMeshProUGUI components. But if it's in the dialogue UI it will only be visible while the dialogue UI is open (i.e., while a conversation is active).
- Thu May 02, 2024 12:01 pm
- Forum: Quest Machine
- Topic: Active Quests not showing the Image of the quest entity
- Replies: 8
- Views: 54
Re: Active Quests not showing the Image of the quest entity
Hi, Are those procedurally-generated quests? If so, then you must assign the images to your quest database's EntityType Images list: entityTypeImages.png If they are hand-written quests (i.e., you made them in the Quest Editor window), this should not be an issue. If they're hand-written, please con...
- Thu May 02, 2024 11:54 am
- Forum: Dialogue System for Unity
- Topic: Corgi Engine Dialogue persistent
- Replies: 3
- Views: 21
Re: Corgi Engine Dialogue persistent
Glad to help!