Hi,
I'll assume your dialogue entry nodes' Conditions use Dialogue System variables -- for example, the "TalkedToNPC" variable in How To: Run a Conversation Only Once.
To reset everything (e.g., all variables and quest states), call DialogueManager.ResetDatabase(). Or, if you're using the Save System, call PixelCrushers.SaveSystem.RestartGame("mainmenu") to reset all data saved in memory (including the Dialogue System variables and quests) and load a scene named "mainmenu".
If you don't want to write a script, you can add a SaveSystemMethods componenet to a UI Button and configure OnClick() to call SaveSystemMethods.RestartGame.
Auto Play and Skip All buttons
Re: Auto Play and Skip All buttons
That works!
Another small thing, how can I change so the last character that has said a line stays active when a response menu pops up?
Currently, when a response menu pops up, both characters get unfocused, I would like to keep the last character that has talked focused.
Another small thing, how can I change so the last character that has said a line stays active when a response menu pops up?
Currently, when a response menu pops up, both characters get unfocused, I would like to keep the last character that has talked focused.
Re: Auto Play and Skip All buttons
Hi,
Try setting the subtitle panel(s) to Always From Start, Always Once Shown, or Until Superceded.
Try setting the subtitle panel(s) to Always From Start, Always Once Shown, or Until Superceded.
Re: Auto Play and Skip All buttons
Hmm I guess this didn't really work, Always From Start and Always Once Shown changed nothing, while Until Superceeded and Only During content made the NPC invisible once the PC became the one talking, breaking the dialogue, but maybe that's because those settings alter the visibility (which is fine as it is), when I'm trying to change the focus logic?
Re: Auto Play and Skip All buttons
Hi,
Can you send me a reproduction project to tony (at) pixelcrushers.com? I don't quite understand what's going on in your description and what you want it to do. Please include instructions on how to reproduce the issue (e.g., what scene to play, how to start the conversation), what you expect to see, and what you see now.
Can you send me a reproduction project to tony (at) pixelcrushers.com? I don't quite understand what's going on in your description and what you want it to do. Please include instructions on how to reproduce the issue (e.g., what scene to play, how to start the conversation), what you expect to see, and what you see now.
-
- Posts: 1
- Joined: Fri Jun 18, 2021 6:13 am
Re: Auto Play and Skip All buttons
I haven't used iTween but, assuming it works like DOTween, there's probably a generic tween method that you can use to tween the anchoredPosition without hashable. mx player
-
- Posts: 1
- Joined: Thu Jun 24, 2021 9:03 am
Re: Auto Play and Skip All buttons
Awesome, thank you again Tony! get-mobdro.com
Last edited by vikrampaul93 on Sat Jun 26, 2021 6:29 am, edited 1 time in total.
Re: Auto Play and Skip All buttons
Glad to help!