Search found 7 matches

by ryanscottmurphy
Sun Mar 03, 2024 11:14 pm
Forum: Dialogue System for Unity
Topic: SetInkList Appears to be Incorrectly Implemented
Replies: 8
Views: 480

Re: SetInkList Appears to be Incorrectly Implemented

You're so incredibly prompt and responsive Tony, thanks so much for your help!
by ryanscottmurphy
Wed Feb 28, 2024 9:47 pm
Forum: Dialogue System for Unity
Topic: SetInkList Appears to be Incorrectly Implemented
Replies: 8
Views: 480

Re: SetInkList Appears to be Incorrectly Implemented

Running Ink through the Dialogue System integration lets you tie into the Dialogue System's dialogue UI properly, specify different actors for different lines, run sequences, and receive the Dialogue System's special messages such as OnConversationStart and OnConversationEnd. Okay! Good, I didn't w...
by ryanscottmurphy
Wed Feb 28, 2024 11:16 am
Forum: Dialogue System for Unity
Topic: SetInkList Appears to be Incorrectly Implemented
Replies: 8
Views: 480

Re: SetInkList Appears to be Incorrectly Implemented

In the interest of sparing you some time, here is a solution I've made that inserts the Lists correctly, but I haven't got a clear enough understanding of the framework yet to know whether it's best to maintain the DialogueSystemIntegration layer, or whether I should just interface directly with Ink...
by ryanscottmurphy
Wed Feb 28, 2024 3:29 am
Forum: Dialogue System for Unity
Topic: SetInkList Appears to be Incorrectly Implemented
Replies: 8
Views: 480

SetInkList Appears to be Incorrectly Implemented

Hi Pixel Crushers/Tony, I'm going a little bit deeper with my Ink/Dialogue System use in Ink and I noticed that the current behaviour attempts to set the List value using only a string object (which fails). I've investigated a little bit, and so far this is my current fix, which at least appears to ...
by ryanscottmurphy
Tue Feb 27, 2024 1:14 am
Forum: Dialogue System for Unity
Topic: Ink Dialogue System Integration
Replies: 4
Views: 146

Re: Ink Dialogue System Integration

After rubber ducking myself in this forum I found what I was looking for.

Initializing my variables and Observers this way resolved my issues:

Code: Select all

if (DialogueManager.instance.isInitialized)
    AddVariableObservers();
else
    DialogueManager.instance.initializationComplete += AddVariableObservers;
by ryanscottmurphy
Tue Feb 27, 2024 12:53 am
Forum: Dialogue System for Unity
Topic: Ink Dialogue System Integration
Replies: 4
Views: 146

Re: Ink Dialogue System Integration

Thanks very much for the quick reply Tony! I've inspected things a bit more from this code snippet. It looks like this change doesn't solve the problem for me, and from inspecting the Variable table in the Lua environment, it looks like this is a script execution order issue for me. At Line 307 in t...
by ryanscottmurphy
Mon Feb 26, 2024 10:34 am
Forum: Dialogue System for Unity
Topic: Ink Dialogue System Integration
Replies: 4
Views: 146

Ink Dialogue System Integration

Hi there, I'm using the Dialogue System Integration with Ink and I've noticed that the code initializes Lua variables that match and observe the global variables in Ink. I notice that if I start with my variables initialized on the Ink side that they don't appear to be read correctly until their fir...