Search found 10 matches

by duolazhang
Mon Oct 23, 2023 10:14 pm
Forum: Dialogue System for Unity
Topic: Countdown Timer Not Resetting on Game Load
Replies: 1
Views: 112

Countdown Timer Not Resetting on Game Load

Hi Tony, I’m having trouble with the countdown timer in my game. The countdown timer script: using TMPro; using UnityEngine; using UnityEngine.Events; public class CountdownTimer : MonoBehaviour { public float countdownTime; public TMP_Text countdownText; public UnityEvent onCountdownFinished; priva...
by duolazhang
Wed Oct 18, 2023 5:38 pm
Forum: Dialogue System for Unity
Topic: Adding sound effect to response menu
Replies: 24
Views: 4023

Re: Adding sound effect to response menu

Encountered the same problem, but your solution resolved it. Thank you! Hi, Assign the StandardUIResponseButton component's OnClick to the UI Button's OnClick() event in addition to the sound effect. The StandardUIResponseButton will only automatically add its OnClick at runtime if nothing is assign...
by duolazhang
Wed Oct 18, 2023 2:48 pm
Forum: Dialogue System for Unity
Topic: [HOWTO] How To: Adjust Typewriter To Audio Length
Replies: 3
Views: 470

Re: [HOWTO] How To: Adjust Typewriter To Audio Length

I just wanted to update - I've managed to figure it out by using AI. I created an individual script and attached this script to the Dialogue Manager, then it worked perfectly! The AI detected some issues and fixed them, so I want to share the new code here. Here’s what the script looks like: using U...
by duolazhang
Wed Oct 18, 2023 2:41 pm
Forum: Dialogue System for Unity
Topic: Issues with Displaying Actor/Conversant Names in Dialogue UI
Replies: 1
Views: 183

Issues with Displaying Actor/Conversant Names in Dialogue UI

Hi Tony, I hope you're doing well. I'm facing an issue again and need your help. Initially, when I followed the original tutorial, it seemed like I might have had the actor or conversant names displaying correctly in the computer standard dialogue UI. However, I seem to have lost them and am now enc...
by duolazhang
Wed Oct 18, 2023 11:55 am
Forum: Dialogue System for Unity
Topic: [HOWTO] How To: Adjust Typewriter To Audio Length
Replies: 3
Views: 470

Re: [HOWTO] How To: Adjust Typewriter To Audio Length

Hi Tony,

Thank you so much for sharing this useful piece of code. As someone who is still navigating and learning, I find it somewhat challenging to implement directly. Could you possibly break it down into more detailed, step-by-step instructions? It would be incredibly helpful.
by duolazhang
Tue Oct 17, 2023 8:04 am
Forum: Dialogue System for Unity
Topic: How to stop AudioWait?
Replies: 8
Views: 583

Re: How to stop AudioWait?

In case this helps anyone else, the answer is: 1. To play a series of sounds in sequence, use AudioWait with (file1, null, file2, file3, ...) 2. To always let the player continue, select in Dialogue System Controller, under Subtitle Settings, Continue Button "Optional Before Response Menu"...
by duolazhang
Sat Oct 14, 2023 4:02 pm
Forum: Dialogue System for Unity
Topic: Jumping to Certain Node and Running Scene Events Issues
Replies: 5
Views: 270

Re: Jumping to Certain Node and Running Scene Events Issues

Thanks a lot! There’s so much to learn!
by duolazhang
Fri Oct 13, 2023 6:17 pm
Forum: Dialogue System for Unity
Topic: Jumping to Certain Node and Running Scene Events Issues
Replies: 5
Views: 270

Re: Jumping to Certain Node and Running Scene Events Issues

Hello Tony, Thank you for your prompt response and the helpful information you provided. I was inspired as you mentioned that "If the conversation has ended, then DialogueManager.conversationController.GotoState(state) will do nothing." I've discovered that the issue was actually caused by...
by duolazhang
Thu Oct 12, 2023 8:30 am
Forum: Dialogue System for Unity
Topic: Jumping to Certain Node and Running Scene Events Issues
Replies: 5
Views: 270

Jumping to Certain Node and Running Scene Events Issues

Hello everyone, I am new to coding and using the Pixel Crushers Dialogue System, and I'm seeking help with two issues: 1. Jumping to a Certain Node: I'm developing an interactive novel game and facing a challenge. When a branch leads to an end node, I've set a button to rewind the story to a specifi...