Page 1 of 1
Save Question on SetPanel Sequence
Posted: Thu Oct 03, 2019 4:39 am
by KakimaAkuma
I set some panels using SetPanel(actor, 2);
However, this doesn't seem to get saved because when I reload the scene and start on the node using conversation state saver it doesn't seem to reload.
Re: Save Question on SetPanel Sequence
Posted: Thu Oct 03, 2019 8:36 am
by Tony Li
SetPanel() only applies to the current active conversation. he Conversation State Saver doesn't save overridden panel numbers.
For readers who are not using the Conversation State Saver component, you can do this:
Set a Dialogue System variable. For example, say during the conversation that you run this sequence:
Code: Select all
SetVariable(actorPanelNum, 2);
SetPanel(actor, 2)
It will set the actor's panel to 2 and also save the value 2 in the variable "actorPanelNum".
If you set the <START> node's Sequence to this:
Code: Select all
SetPanel(actor, [var=actorPanelNum])
It will use the value you saved in "actorPanelNum".
---
I'll investigate a way to do this with the Conversation State Saver.
Re: Save Question on SetPanel Sequence
Posted: Thu Oct 03, 2019 8:36 pm
by KakimaAkuma
Thanks Tony! I'll try to find a workaround for now.
Re: Save Question on SetPanel Sequence
Posted: Thu Oct 10, 2019 4:36 am
by KakimaAkuma
Heya Tony! Any update on this thread?
Re: Save Question on SetPanel Sequence
Posted: Thu Oct 10, 2019 9:01 am
by Tony Li
I plan to implement it this week and put a patch on by the end of the weekend.
Re: Save Question on SetPanel Sequence
Posted: Fri Oct 11, 2019 10:34 am
by Tony Li
Hi,
Please try this patch:
DS_ConversationSaverPatch_2019-10-11.unitypackage
If you're using the Dialogue System's Visual Novel Framework, you'll also need to import this patch:
DS_VNFrameworkPatch_2019-10-11.unitypackage
Re: Save Question on SetPanel Sequence
Posted: Wed Jan 29, 2020 12:08 am
by KakimaAkuma
Hi! Is this patch in the 2.2.4 version? I used a fresh plugin and updated this patch. But it has some errors.
Re: Save Question on SetPanel Sequence
Posted: Wed Jan 29, 2020 7:54 am
by Tony Li
Yes, it was added to version 2.2.2, released October 23, 2019. You don't need to import either patch. The latest versions of the Dialogue System and VN framework are both newer than those links.
Re: Save Question on SetPanel Sequence
Posted: Thu Jan 30, 2020 12:37 am
by KakimaAkuma
Thank you!