Search found 10 matches

by Ondatr
Tue Dec 13, 2016 9:03 am
Forum: Dialogue System for Unity
Topic: How to pause a game during a dialogue?
Replies: 17
Views: 6489

Re: How to pause a game during a dialogue?

Yep. It's fixed. Hooray!
Thanks :)
by Ondatr
Tue Dec 13, 2016 2:13 am
Forum: Dialogue System for Unity
Topic: How to pause a game during a dialogue?
Replies: 17
Views: 6489

Re: How to pause a game during a dialogue?

Still problems. I've sent my project along with the detailed description to your email.
by Ondatr
Mon Dec 12, 2016 9:12 am
Forum: Dialogue System for Unity
Topic: How to pause a game during a dialogue?
Replies: 17
Views: 6489

Re: How to pause a game during a dialogue?

Okay, I'm still struggling and not sure if I'm doing something wrong. Let's try it one more time.

What is the correct way to pause regular gameplay during dialogues excluding given list of dialogues?

I will implement your solution. If it works - great. If not - I'll send you my project.
by Ondatr
Sat Dec 10, 2016 9:12 am
Forum: Dialogue System for Unity
Topic: How to pause a game during a dialogue?
Replies: 17
Views: 6489

Re: How to pause a game during a dialogue?

Correct. It's just I don't know why the sequence doesn't work as intended in the Start node of any dialogue (I've double checked).
Anyway, it doesn't matter for my gameplay for now.
by Ondatr
Sat Dec 10, 2016 3:39 am
Forum: Dialogue System for Unity
Topic: How to pause a game during a dialogue?
Replies: 17
Views: 6489

Re: How to pause a game during a dialogue?

Ok, I have two cases where I call my function. First one I've created in the starting dialogue for testing/debug purpose yesterday, and it miraculously works today. All I did is remove DialogueTime.IsPaused = onPause; line as it was before my initial post. The second, original, case was in the Start...
by Ondatr
Fri Dec 09, 2016 4:30 pm
Forum: Dialogue System for Unity
Topic: How to pause a game during a dialogue?
Replies: 17
Views: 6489

Re: How to pause a game during a dialogue?

Hi, By default, the Dialogue System runs in realtime. This allows you to pause regular gameplay when running a conversation so the regular gameplay doesn't keep running while the player is in a conversation. That is exactly what I'm trying to do. I have a counter Time.timeSinceLevelLoad, which stop...
by Ondatr
Fri Dec 09, 2016 2:38 pm
Forum: Dialogue System for Unity
Topic: How to pause a game during a dialogue?
Replies: 17
Views: 6489

How to pause a game during a dialogue?

In sequence field I wrote: SendMessage(togglePause,,GameManager) which calls my function: private bool onPause = false; public void togglePause() { onPause = !onPause; if(onPause) { Time.timeScale = 0; } else { Time.timeScale = currentTimeScale; } } However, it stops the game time only for a moment....
by Ondatr
Fri Dec 09, 2016 2:32 pm
Forum: Dialogue System for Unity
Topic: How to play a specific sound before every dialogue?
Replies: 5
Views: 1380

Re: How to play a specific sound before every dialogue?

Thank you for the great asset and excellent support!
by Ondatr
Wed Dec 07, 2016 12:42 pm
Forum: Dialogue System for Unity
Topic: How to play a specific sound before every dialogue?
Replies: 5
Views: 1380

Re: How to play a specific sound before every dialogue?

Hi,

Going "suggestion 1" route, the sound plays simultaneously with the start of dialogue, not before.

Didn't try the "suggestion 2" yet, is there a way to control volume and other parameters of an audio clip with AudioWait?
by Ondatr
Wed Dec 07, 2016 8:19 am
Forum: Dialogue System for Unity
Topic: How to play a specific sound before every dialogue?
Replies: 5
Views: 1380

How to play a specific sound before every dialogue?

Before the start of any dialogue I need a particular sound to be played, depending on which conversant starts the dialogue.
For now I wrote AudioWait (mySound) in the Sequence field of Start node for each dialogue. How to code it for all issues at once?