Yes, buttons are connected to the button panel.
I kind of have no idea why it doesn't work ahah
Search found 29 matches
- Sat May 25, 2024 6:39 am
- Forum: Dialogue System for Unity
- Topic: Audio Dialogue on Hover
- Replies: 7
- Views: 749
- Sat May 25, 2024 6:35 am
- Forum: Dialogue System for Unity
- Topic: UI Bar connected to Variables
- Replies: 11
- Views: 967
Re: UI Bar connected to Variables
It doesn't show and after interacting with an NPC who should increase the value, this is the error i'm getting: InvalidCastException: Specified cast is not valid. Confidence_bar.OnVariableChanged (System.String variableName, System.Object variableValue) (at Assets/Confidence_bar.cs:21) Language.Lua....
- Fri May 24, 2024 12:35 pm
- Forum: Dialogue System for Unity
- Topic: UI Bar connected to Variables
- Replies: 11
- Views: 967
Re: UI Bar connected to Variables
Nope, the value is not increasing.
The debug is not catching any change in the Confidence variable.
The debug is not catching any change in the Confidence variable.
- Fri May 24, 2024 12:32 pm
- Forum: Dialogue System for Unity
- Topic: Audio Dialogue on Hover
- Replies: 7
- Views: 749
Re: Audio Dialogue on Hover
Ok, now it's the script is not giving me any more errors. However, if i put the script on the buttons, i get "NullReferenceException: Object reference not set to an instance of an object HoverButton.PlayHoverSequence () (at Assets/HoverButton.cs:17)" Where do you suggest putting the script...
- Fri May 24, 2024 11:57 am
- Forum: Dialogue System for Unity
- Topic: UI Bar connected to Variables
- Replies: 11
- Views: 967
Re: UI Bar connected to Variables
I was just missing "using PixelCrushers.DialogueSystem;".
For the rest, the script is the same and unfortunately, even including the missing bit, still doesn't show any changes in the slider.
For the rest, the script is the same and unfortunately, even including the missing bit, still doesn't show any changes in the slider.
- Fri May 24, 2024 11:52 am
- Forum: Dialogue System for Unity
- Topic: Audio Dialogue on Hover
- Replies: 7
- Views: 749
Re: Audio Dialogue on Hover
Thanks!
Unfortunately, even with your suggestion, the error persists.
Unfortunately, even with your suggestion, the error persists.
- Fri May 24, 2024 8:43 am
- Forum: Dialogue System for Unity
- Topic: Audio Dialogue on Hover
- Replies: 7
- Views: 749
Audio Dialogue on Hover
HI again! looking at the forum, I noticed that playing a specific audio entry on hover to represent thoughts has been treated already, but unfortunately, the suggested solution is giving me an error. using System.Collections; using System.Collections.Generic; using UnityEngine; using PixelCrushers.D...
- Fri May 24, 2024 6:21 am
- Forum: Dialogue System for Unity
- Topic: UI Bar connected to Variables
- Replies: 11
- Views: 967
Re: UI Bar connected to Variables
I would like to use a Confidence Variable. I've updated the dialogue system and is not giving me errors anymore. I've created a slider bar with fill, connected the script to the slider and assigned it to the script. I then created a Confidence variable on the dialogue system and assigned Variable[&q...
- Tue May 21, 2024 12:36 pm
- Forum: Dialogue System for Unity
- Topic: UI Bar connected to Variables
- Replies: 11
- Views: 967
Re: UI Bar connected to Variables
Hi there, thanks again for the reply.
I'm getting this error.
I've created a custom function and called it "Confidence".
What am I doing wrong?
Sorry but I'm not that great at programming.
I'm getting this error.
I've created a custom function and called it "Confidence".
What am I doing wrong?
Sorry but I'm not that great at programming.
- Wed May 15, 2024 7:02 am
- Forum: Dialogue System for Unity
- Topic: UI Bar connected to Variables
- Replies: 11
- Views: 967
UI Bar connected to Variables
Hi there,
I would like to connect a UI bar to a variable I increase through the dialogue system.
Is there a way to do it and show it through a simple animation?
Many thanks,
Alberto
I would like to connect a UI bar to a variable I increase through the dialogue system.
Is there a way to do it and show it through a simple animation?
Many thanks,
Alberto