Search found 7 matches

by Vielfalt
Fri Mar 28, 2025 5:46 am
Forum: Dialogue System for Unity
Topic: Randomizing voice audio files
Replies: 6
Views: 2444

Re: Randomizing voice audio files

I just discovered that it doesn't work on iOS. I haven't debugged it yet, but could it be that os.clock() doesn't work on iOS / iPadOS? Is there an alternative Lua call for fetching any kind of system time? The manual chapter "Lua Under the Hood" says that os: functions defined but disable...
by Vielfalt
Tue Mar 25, 2025 5:45 pm
Forum: Dialogue System for Unity
Topic: Randomizing voice audio files
Replies: 6
Views: 2444

Re: Randomizing voice audio files

Thanks a lot, RandomElement() works like a charm here! Regarding the minimum time interval between barks, I managed to implement it with Lua in the Dialogue System Trigger: Lua condition: os.clock() > Variable["PrevGreetingTime"] + 60 Actions / Run Lua code: Variable["PrevGreetingTime...
by Vielfalt
Tue Mar 25, 2025 1:44 pm
Forum: Dialogue System for Unity
Topic: Response button ignores space bar, only reacts to Enter key
Replies: 3
Views: 1185

Re: Response button ignores space bar, only reacts to Enter key

This was the one place I didn't look, thank you!
The InputSystemUIInputModule's "Actions Asset" was set to default instead of my custom one.
Here's another screenshot for future reference:
by Vielfalt
Tue Mar 25, 2025 7:40 am
Forum: Dialogue System for Unity
Topic: Randomizing voice audio files
Replies: 6
Views: 2444

Randomizing voice audio files

Hi, In my game, a character greets the player when he passes by, via bark dialogue, which works well. I'd like to randomly shuffle the voice audio files, to prevent the player from hearing the same intonation all the time. So I added this Sequence, but it always plays the first file: RandomizeNextEn...
by Vielfalt
Tue Mar 25, 2025 7:28 am
Forum: Dialogue System for Unity
Topic: Response button ignores space bar, only reacts to Enter key
Replies: 3
Views: 1185

Response button ignores space bar, only reacts to Enter key

Hi, I created a bubble dialogue response panel which works great using the mouse, or arrow keys and the return key. However, the space bar is ignored. I tried adding it in various places (Input Actions Editor, Input Device Manager / Key Codes to Check) to no avail. Attached are screenshots from the ...
by Vielfalt
Fri Dec 13, 2024 12:07 pm
Forum: Dialogue System for Unity
Topic: Standard Usable UI vs. Standard UI Selector Elements
Replies: 3
Views: 588

Re: Standard Usable UI vs. Standard UI Selector Elements

Technically, if you're showing a highlight without using StandardUsableUI -- for example, using the Usable component's Events > OnSelect event to activate a highlight child GameObject -- then I don't think you actually need any of those components. You could probably get by with only a ProximitySel...
by Vielfalt
Thu Dec 12, 2024 8:56 am
Forum: Dialogue System for Unity
Topic: Standard Usable UI vs. Standard UI Selector Elements
Replies: 3
Views: 588

Standard Usable UI vs. Standard UI Selector Elements

Hi, new DS + QM user here 👋 First of all, thanks @Tony for developing these assets with all the documentation and examples! It's a bit of a learning curve for me (senior dev, but new to Unity), but I'm seeing real progress after 2 days, and the goal of having my first quest fully implemented is gett...