Page 1 of 1

Adventure Creator / Dialog System Lua not working?

Posted: Wed Oct 07, 2015 7:41 pm
by PeterParked
I'm using Dialogue System for Unity 1.5.5 and Adventure Creator 1.47b, and I'm having trouble in my game getting the Dialog System Lua to actually fire correctly. I know the system is trying to run my Lua code, because it protests syntax errors, but it's silent when I don't have errors. So far, for instance, I'm unable to get Alerts to fire via Adventure Creator action lists, using the Third Party / Dialog System Lua action type.

I've even created a new project with only Adventure Creator and Dialogue System loaded, and tested the Example Scene you created. The "Use: Sword" interaction is running just fine, but as far as I can tell, it's not even running this line, which should be fairly obvious, right? Because it should toss up a big alert message?

Quest["Find_a_Sword"].State = "success"; Variable["Alert"] = "Quest Complete: Find a Sword"

Re: Adventure Creator / Dialog System Lua not working?

Posted: Wed Oct 07, 2015 10:57 pm
by Tony Li
Sorry about that. The Lua action neglected to update alerts at the end. It's fixed in this updated package:

AdventureCreator_Support_2015-10-07.unitypackage

You can also download this package on the Dialogue System Extras page. It will also be in the upcoming version 1.5.6 release.

Re: Adventure Creator / Dialog System Lua not working? [SOLVED]

Posted: Thu Oct 08, 2015 8:13 am
by PeterParked
Thank you so much! Very appreciated.