Search found 20819 matches

by Tony Li
Fri May 24, 2024 12:23 pm
Forum: Dialogue System for Unity
Topic: Animation play on specific DialogueEntry
Replies: 1
Views: 22

Re: Animation play on specific DialogueEntry

hi, It will look for an Animator on children, too. Is it finding the correct GameObject named "Mike"? Since you've omitted the subject parameter (which is probably the right thing to do), it will use the speaker GameObject. See: Character GameObject Assignments to confirm that the correct ...
by Tony Li
Fri May 24, 2024 12:20 pm
Forum: Dialogue System for Unity
Topic: UI Bar connected to Variables
Replies: 8
Views: 124

Re: UI Bar connected to Variables

Try adding a Debug.Log to check if the variable changed method is being called: void OnVariableChanged(string variableName, object variableValue) { Debug.Log($"{variableName} changed to {variableValue}"); if (variableName == "Confidence") scoreSlider.value = (float)variableValue;...
by Tony Li
Fri May 24, 2024 12:20 pm
Forum: Dialogue System for Unity
Topic: Audio Dialogue on Hover
Replies: 4
Views: 56

Re: Audio Dialogue on Hover

Hi,

That's a different error. Change the red underlined "responseButton.dialogueEntry" to "response.destinationEntry".
by Tony Li
Fri May 24, 2024 12:18 pm
Forum: Dialogue System for Unity
Topic: Turning off conversation UI for internal dialogue UI
Replies: 5
Views: 193

Re: Turning off conversation UI for internal dialogue UI

Hi,

How do you have it configured? Are you using an Override Dialogue UI component?
by Tony Li
Fri May 24, 2024 9:55 am
Forum: Dialogue System for Unity
Topic: UI Bar connected to Variables
Replies: 8
Views: 124

Re: UI Bar connected to Variables

Hi, What is your script? It should look something like: using UnityEngine; using UnityEngine.UI; using PixelCrushers.DialogueSystem; public class Confidence_bar : MonoBehaviour { public Slider scoreSlider; //<-- Assign in inspector. void Start() { Language.Lua.Assignment.MonitoredVariables.Add("...
by Tony Li
Fri May 24, 2024 9:52 am
Forum: Dialogue System for Unity
Topic: Audio Dialogue on Hover
Replies: 4
Views: 56

Re: Audio Dialogue on Hover

Hi,

The example you're looking at uses the older UI scripts. Try changing:

Code: Select all

var response = GetComponent<UnityUIResponseButton>().response;
to:

Code: Select all

var response = GetComponent<StandardUIResponseButton>().response;
by Tony Li
Fri May 24, 2024 8:20 am
Forum: Dialogue System for Unity
Topic: Subtitle node is START?
Replies: 5
Views: 79

Re: Subtitle node is START?

Hi,

Does your <START> entry have a link directly to the responses?

Can you send a reproduction project to tony (at) pixelcrushers.com?
by Tony Li
Fri May 24, 2024 8:19 am
Forum: Dialogue System for Unity
Topic: Get subtitle lines without starting conversation
Replies: 2
Views: 27

Re: Get subtitle lines without starting conversation

Hi, Yes, here are two ways: 1. If you only need the text: Conversation conversation = DialogueManager.masterDatabase.GetConversation("Conversation_A"); DialogueEntry startEntry = conversation.GetFirstEntry(); DialogueEntry secondEntry = conversation.GetDialogueEntry(startEntry.outgoingLink...