Page 6 of 6

Re: Yarn 1.2.7

Posted: Sun Dec 29, 2024 10:17 am
by Tony Li
Hi,

Try:

Code: Select all

<<addConvo Landlord Landlord/Closet>>
Yarn's commands, like the Dialogue System's sequencer commands, have a weird syntax in that they generally don't use quotes.

Re: Yarn 1.2.7

Posted: Sun Dec 29, 2024 3:29 pm
by gblekkenhorst
OK I've tried that now, but it's still doing the same thing:

Code: Select all

_G['addConvo']('Landlord', 'LLLLLLandlord', '/', 'Closet')
Just changed spelling to check I that it was a new import.

Re: Yarn 1.2.7

Posted: Sun Dec 29, 2024 4:50 pm
by Tony Li
Hi,

I'll try to get a fix to you by this evening. The code that breaks <<command param param...>> into tokens doesn't currently handle "/".

Re: Yarn 1.2.7

Posted: Sun Dec 29, 2024 5:50 pm
by gblekkenhorst
Thank you kindly!

Re: Yarn 1.2.7

Posted: Sun Dec 29, 2024 7:37 pm
by Tony Li
Sorry, will probably be tomorrow. Dealing with a sick dog this evening.

Re: Yarn 1.2.7

Posted: Sun Dec 29, 2024 8:49 pm
by Tony Li
Had a minute to fix that issue. You'll need to put that string in quotes:

Code: Select all

<<addConvo Landlord "Landlord/Closet">>
Patch: DS_Yarn1Patch_2024-12-29.unitypackage

Re: Yarn 1.2.7

Posted: Mon Dec 30, 2024 2:14 am
by gblekkenhorst
It works perfectly! Thank you so much for putting the time in for me, it really unlocks my game. For this one I'm trying a system where instead of nesting a bunch of conditionals in a hub I'm adding the URL to a conversation list each character and interactive item has, they trigger one at a time each time the convo is initiated, and then removes it from the list and plays the default when the list is exhausted. I'll have to see if it feels good in gameplay to give so little control over the topics to the player, but so far testing it being triggered from code is working really well.

Re: Yarn 1.2.7

Posted: Mon Dec 30, 2024 8:06 am
by Tony Li
Cool idea!