Search found 26 matches

by farazk86
Wed May 08, 2024 8:37 am
Forum: Dialogue System for Unity
Topic: Unable to find style warnings
Replies: 12
Views: 1380

Re: Unable to find style warnings

Please use version 2.2.38 or, if you can't update to 2.2.38, use the patch available on the Dialogue System Extras page. Unity made a breaking change in 2022.3.1. Hello, I am also getting the same error after updating to Unity 2022.3, searched for it and found this already reported. I cannot find t...
by farazk86
Sun Jan 14, 2024 10:13 am
Forum: Dialogue System for Unity
Topic: Conversation conditions not working
Replies: 6
Views: 73824

Re: Conversation conditions not working

I believe I found my answer in : https://pixelcrushers.com/dialogue_system/manual2x/html/scripting.html I am saving the decision to a PlayerPref and then in the Awake() of my campaign map scene I am setting variable like: int kaahlerKilled = PlayerPrefs.GetInt("kahler_killed", 0); if (kaah...
by farazk86
Sun Jan 14, 2024 9:33 am
Forum: Dialogue System for Unity
Topic: Conversation conditions not working
Replies: 6
Views: 73824

Re: Conversation conditions not working

I would rather the dialogue manager not be persistent and it does not need to exist in every scene of my game, only in a couple cutscene scenes and in the campaign map scene. That is why I would rather it not be DontDestroyOnLoad(). Rather than use the save system (which is also persistent) can I no...
by farazk86
Sun Jan 14, 2024 3:03 am
Forum: Dialogue System for Unity
Topic: Conversation conditions not working
Replies: 6
Views: 73824

Re: Conversation conditions not working

The script field for "Punish him" is ``Variable["kaahlerKilled"] = true`` and the script field for "Forgive him" ``Variable["kaahlerKilled"] = false``. The conditions of "General Akur, what has become," is ``Variable["kaahlerKilled"] == tru...
by farazk86
Sat Jan 13, 2024 1:09 pm
Forum: Dialogue System for Unity
Topic: Conversation conditions not working
Replies: 6
Views: 73824

Conversation conditions not working

Hi there, I have followed the tutorial: https://www.youtube.com/watch?v=TVQavVyp068&list=PLwJBdHXwa-RoOVOj_BjpdmFbXGV245VQb&index=4 to add conditions to my conversations, but its not working as shown in the video. I have added a variable "kaahlerKilled" to the variables tab, and th...
by farazk86
Sun Nov 19, 2023 11:45 am
Forum: Dialogue System for Unity
Topic: Setting localization language via script made the dialogue manager to stop working
Replies: 13
Views: 3933

Re: Setting localization language via script made the dialogue manager to stop working

That did not help unfortunately, and the dialogue language did not change even after the advised resetting language player prefs in dialogue manager. I am also using Lean Localization plugin to localize the UI, so I thought that maybe it is overwriting the "Language" key, but that is not t...
by farazk86
Sun Nov 19, 2023 10:28 am
Forum: Dialogue System for Unity
Topic: Setting localization language via script made the dialogue manager to stop working
Replies: 13
Views: 3933

Re: Setting localization language via script made the dialogue manager to stop working

Using a different Dialogue Manager in each scene that only survives in that scene would work better for me. I did as advised and added this code to the Awake() of the dialogue scenes: DialogueManager.SetLanguage(PlayerPrefs.GetString("Language")); But this is not working and the default en...
by farazk86
Sat Nov 18, 2023 7:57 pm
Forum: Dialogue System for Unity
Topic: Setting localization language via script made the dialogue manager to stop working
Replies: 13
Views: 3933

Re: Setting localization language via script made the dialogue manager to stop working

yes it works now. The dialogue language changed. Thanks :) But this is not ideal for me, as I scene dependent events in my dialogue manager and would prefer the old one to persist. Also in some cutscene scenes I have a different dialogue manager with different settings. Would it be wise to set the l...
by farazk86
Sat Nov 18, 2023 7:27 pm
Forum: Dialogue System for Unity
Topic: Setting localization language via script made the dialogue manager to stop working
Replies: 13
Views: 3933

Re: Setting localization language via script made the dialogue manager to stop working

Right, understood. I may have missed that in the documentation. Apologies. Does it have to be the same instance as in should I add a script for DontDestroyOnLoad() on it? I mean does it have to persist through all scenes? as I only have the dialogue manager in one scene, I dont want it to persist in...
by farazk86
Sat Nov 18, 2023 6:34 pm
Forum: Dialogue System for Unity
Topic: Setting localization language via script made the dialogue manager to stop working
Replies: 13
Views: 3933

Re: Setting localization language via script made the dialogue manager to stop working

My dialogue manager does not exist in the scene in which the localization menu exists.

Dialogue Manager only exists in a single scene where all the story telling happens. Do I have to have the dialogue manager present in the scene for this setting to take effect?