Page 5 of 5

Re: Yarn 1.2.7

Posted: Fri Oct 14, 2022 5:23 pm
by Tony Li
Hi,

Please use this patch:

DS_YarnPatch_2022-10-14.unitypackage

It should fix all issues, at least by the unit tests we've set up.

You should be able do this:

Code: Select all

<<seq LookAt(Car, Zane) >>
and this:

Code: Select all

<<alert "Hit 'Q' to open and close your MP3 player">>
and run lines should all have Continue() in the Sequence field.

For this Yarn line:

Code: Select all

Thought: I'm SO close, just ${$carFundLeft} to go - a few gigs should do it.
change it to:

Code: Select all

Thought: I'm SO close, just {$carFundLeft} to go - a few gigs should do it.
(Only one $)

The corresponding dialogue entry in the dialogue database should look like:

Code: Select all

Thought: I'm SO close, just {0} to go - a few gigs should do it.
As long as your Yarn custom commands script is on the Dialogue Manager GameObject, the {0} should be replaced by the correct runtime value at runtime.

Re: Yarn 1.2.7

Posted: Fri Feb 03, 2023 12:39 pm
by gblekkenhorst
This all worked beautifully! Thank you!

I am starting a second project in DS with Yarn, and I've discovered that the Yarn Importer doesn't save the info from Project 2, it brings in the info from Project 1 if that was the last project with the window open.

Re: Yarn 1.2.7

Posted: Fri Feb 03, 2023 2:09 pm
by Tony Li
Good point. Currently the Yarn importer saves its settings in Unity's EditorPrefs, which is shared across projects. In the next update, I'll change it so you can save prefs to a JSON file like the Arcweave and Aurora importers.

Re: Yarn 1.2.7

Posted: Wed May 31, 2023 5:59 pm
by gblekkenhorst
Hi there, has there been any update on this? I'm getting deeper into the second project and reassigning all of the yarn import variables is a drag switching between projects a few times a week.

Thanks!

Re: Yarn 1.2.7

Posted: Wed May 31, 2023 8:34 pm
by Tony Li
Hi,

This is in version 2.2.38, which should be available early next week depending on how the submission queue goes.

Are you using Yarn 1.x or 2.x? It's currently implemented for the Yarn 2.x window, but not the 1.x window. I can backport it to the 1.x window if you're still using Yarn 1.x.

Re: Yarn 1.2.7

Posted: Thu Jun 01, 2023 10:15 am
by gblekkenhorst
One project is Yarn 1, not a good idea to update at this point. The other project is currently Yarn 1 but could be updated - i tried to update to 2 earlier but it caused a big cascade of errors and I reverted. So long as the Yarn 1 and Yarn 2 imports don't overwrite each other and I can update to Yarn 2 on the newer project, that should be fine.

Re: Yarn 1.2.7

Posted: Thu Jun 01, 2023 11:06 am
by Tony Li
I can backport it to 1.x pretty quickly. Both should be in 2.2.38.

Re: Yarn 1.2.7

Posted: Thu Jun 01, 2023 1:01 pm
by gblekkenhorst
Awesome, thanks!

Re: Yarn 1.2.7

Posted: Fri Jun 02, 2023 10:56 am
by Tony Li
This patch has the backport for Yarn 1 and the file for Yarn 2:

DS_YarnImportWindowPatch_2023-06-02.unitypackage