Search found 45 matches

by Esylin
Sun May 05, 2024 2:36 am
Forum: Dialogue System for Unity
Topic: Get the most recent Quest entry and store it as Playmaker variable
Replies: 13
Views: 300

Re: Get the most recent Quest entry and store it as Playmaker variable

Update: I think the problem is solved now, than you! I used the scripts in a clean project and it worked perfectly fine, so it is not the problem with the script.

It turns out that a playmaker component is interfering with the text component, I deleted that playmaker component and it worked. :)
by Esylin
Thu May 02, 2024 4:15 pm
Forum: Dialogue System for Unity
Topic: Get the most recent Quest entry and store it as Playmaker variable
Replies: 13
Views: 300

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). H...
by Esylin
Thu May 02, 2024 12:32 pm
Forum: Dialogue System for Unity
Topic: Get the most recent Quest entry and store it as Playmaker variable
Replies: 13
Views: 300

Re: Get the most recent Quest entry and store it as Playmaker variable

I attached both scripts it kinda worked. The text changed but it only changes during the conversation. As soon as the conversation is over (dialogue UI no longer active) the text quickly become "nil". Is it possible to store the quest entry string somewhere and keep the entry displayed unt...
by Esylin
Wed May 01, 2024 1:07 pm
Forum: Dialogue System for Unity
Topic: Get the most recent Quest entry and store it as Playmaker variable
Replies: 13
Views: 300

Re: Get the most recent Quest entry and store it as Playmaker variable

Hi, Make sure it's on the Dialogue Manager GameObject or one of its children. The OnQuestEntryStateChange is only called on the Dialogue Manager hierarchy. I put the component on Dialogue Manager GameObject now, but it still does not change the text. Another problem is, my dialogue manager uses Don...
by Esylin
Wed May 01, 2024 7:45 am
Forum: Dialogue System for Unity
Topic: Get the most recent Quest entry and store it as Playmaker variable
Replies: 13
Views: 300

Re: Get the most recent Quest entry and store it as Playmaker variable

Hi, If you are up for a little bit of scripting, you can use the OnQuestEntryStateChange(QuestEntryArgs args) method. Example: public TextMeshProUGUI newest; // Assign in inspector. void OnQuestEntryStateChange(QuestEntryArgs args) { var state = QuestLog.GetQuestEntryState(args.questName, args.entr...
by Esylin
Tue Apr 30, 2024 8:35 am
Forum: Dialogue System for Unity
Topic: Get the most recent Quest entry and store it as Playmaker variable
Replies: 13
Views: 300

Re: Get the most recent Quest entry and store it as Playmaker variable

Hmmm....I don't quite fully understand the scripting part but I'll try. Thanks for the scripts! Another question about the quest system. The quest system has No Active Quests text if no quests are active. Quest.png How do I localize this line? Since it is not part of Templates, I can't add localizat...
by Esylin
Fri Apr 26, 2024 11:18 am
Forum: Dialogue System for Unity
Topic: Get the most recent Quest entry and store it as Playmaker variable
Replies: 13
Views: 300

Get the most recent Quest entry and store it as Playmaker variable

Hi, I am working on adding a quest entry UI on screen, which will announce the newest quest name. For example, a quest entry "kill 30 enemies" is activated. Then the UI will pop with the text: "Kill 30 enemies". If the player receive a new quest called "Save Amy", then ...
by Esylin
Thu Apr 11, 2024 4:11 pm
Forum: Dialogue System for Unity
Topic: "Update Dialogue UI Immediately" does not work
Replies: 1
Views: 43

"Update Dialogue UI Immediately" does not work

Hi, I am using unity localization integration package bridge and checked box for "Update Dialogue UI Immediately" But the dialogue language does not change immediately, it changes on the next line. Send.png I wonder what went wrong? It says "works with standard dialogue UI", my U...
by Esylin
Wed Dec 06, 2023 5:35 am
Forum: Dialogue System for Unity
Topic: Need help with timeline and sequence
Replies: 9
Views: 12312

Re: Need help with timeline and sequence

Hi, If you use SetDialoguePanel(false), it should hide the Dialogue Panel and all of its children. Thanks for the info. My continue button was not a child of Dialogue Panel, that's why SetDialoguePanel(false) wasn't working correctly. :roll: I will need to find time to rework the dialogue UI entire...
by Esylin
Mon Dec 04, 2023 7:29 am
Forum: Dialogue System for Unity
Topic: Need help with timeline and sequence
Replies: 9
Views: 12312

Re: Need help with timeline and sequence

Hi Tony, thank you for your help. After I investigate it further and comparing it with clean files, I think I know where the problem is. In a brand new project using default UI panel(Basic Standard Dialogue UI), the following command works perfect: HidePanel(0); Timeline(play,Timeline)->Message(Done...