Adventure Creator / Dialog System Lua not working?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
PeterParked
Posts: 24
Joined: Wed Oct 07, 2015 7:32 pm

Adventure Creator / Dialog System Lua not working?

Post 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"
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Adventure Creator / Dialog System Lua not working?

Post 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.
PeterParked
Posts: 24
Joined: Wed Oct 07, 2015 7:32 pm

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

Post by PeterParked »

Thank you so much! Very appreciated.
Post Reply