Search found 20815 matches

by Tony Li
Fri May 24, 2024 9:55 am
Forum: Dialogue System for Unity
Topic: UI Bar connected to Variables
Replies: 5
Views: 99

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: 1
Views: 20

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: 75

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: 1
Views: 21

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...
by Tony Li
Thu May 23, 2024 7:50 pm
Forum: Dialogue System for Unity
Topic: Change whole Dialogue UI during conversation
Replies: 7
Views: 111

Re: Change whole Dialogue UI during conversation

Hi,

otherDialogueUI should be a GameObject (with a StandardDialogueUI component) in your scene, not a prefab. If it's a prefab, that might be the issue.
by Tony Li
Thu May 23, 2024 4:54 pm
Forum: Dialogue System for Unity
Topic: Subtitle node is START?
Replies: 5
Views: 75

Re: Subtitle node is START?

Hi,

I think what you're seeing is the "<>" subtitle. Here's an example scene:

DS_TestEonyanov_2024-05-23.unitypackage

It prints the dialogue entry ID along with the subtitle text. It confirms that ShowResponses() receives the "<>" subtitle entry.
by Tony Li
Thu May 23, 2024 4:16 pm
Forum: Dialogue System for Unity
Topic: interaction button above the item
Replies: 3
Views: 49

Re: interaction button above the item

Glad to help! :-)
by Tony Li
Thu May 23, 2024 10:57 am
Forum: Dialogue System for Unity
Topic: Subtitle node is START?
Replies: 5
Views: 75

Re: Subtitle node is START?

The parent node for responses should be the "<>" node. How are you reworking your response menu? Are you using any DS special methods?