Quest Progress

Announcements, support questions, and discussion for the Dialogue System.
wioluskaelk
Posts: 31
Joined: Fri Oct 02, 2015 6:01 pm
Location: Netherland/Poland
Contact:

Re: Quest Progress

Post by wioluskaelk »

hi !!!

Earlier you made a state machine (in this post)
https://screencloud.net/v/1rd5
https://screencloud.net/v/1KS7
to track Skeletons killed.
But right now in State MAchine, in Dialogue System I have only sync to Lua. And Increment on destroy doesn`t work. Do you have any solved how to set trackable ?

This is my actuall settings:
Skeleton https://screencloud.net/v/hAJy
Converser https://screencloud.net/v/MvP
Editor:
https://screencloud.net/v/xw1y
https://screencloud.net/v/JHg
https://screencloud.net/v/s0AV
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Progress

Post by Tony Li »

Hi Wioleta,

Increment On Destroy no longer works with RPG Kit 3.1+. I think skeletons are now recycled, not destroyed.

Do not use Increment On Destroy. Instead, use the state machine actions shown in the screenshot:
  • DialogueSystem.Variable.GetFloatVariable: Get your Lua variable.
  • Math.Sum: Add 1.
  • Math.Clamp: Clamp to the maximum value.
  • DialogueSystem.Variable.SetFloatVariable: Set the Lua variable to the new value.
  • GameObject.Find: Find the Dialogue Manager.
  • GameObject.BroadcastMessage: Send UpdateTracker.
wioluskaelk
Posts: 31
Joined: Fri Oct 02, 2015 6:01 pm
Location: Netherland/Poland
Contact:

Re: Quest Progress

Post by wioluskaelk »

I Can`t.
https://screencloud.net/v/l7L7
There`s no DialogueSystem.Variable
(On top you have dialog and down general variable)
So I will try do something with general variable...
wioluskaelk
Posts: 31
Joined: Fri Oct 02, 2015 6:01 pm
Location: Netherland/Poland
Contact:

Re: Quest Progress

Post by wioluskaelk »

I tried do something like that:
https://screencloud.net/v/4YB0
it`s not working .

This doesn`t work also:
https://screencloud.net/v/nPv5
And this is not working:
https://screencloud.net/v/hj9D

So any diffrent Ideas?
Last edited by wioluskaelk on Sat Nov 07, 2015 10:15 am, edited 1 time in total.
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Progress

Post by Tony Li »

Import the "ICode Support" package in Assets/Dialogue System/Third Party Support. This will give you the additional Dialogue System actions.
wioluskaelk
Posts: 31
Joined: Fri Oct 02, 2015 6:01 pm
Location: Netherland/Poland
Contact:

Re: Quest Progress

Post by wioluskaelk »

Okey. I didnt saw that you update it yesterday. thanks ;)
wioluskaelk
Posts: 31
Joined: Fri Oct 02, 2015 6:01 pm
Location: Netherland/Poland
Contact:

Re: Quest Progress

Post by wioluskaelk »

I imported this. I still havent this action.
https://screencloud.net/v/f89f
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Progress

Post by Tony Li »

Hi,

Also import this package: "Assets/Dialogue System/Third Party Support/ICode Support.unitypackage"

After you import it, you should see this folder: "Assets/Dialogue System/Third Party Support/ICode"
wioluskaelk
Posts: 31
Joined: Fri Oct 02, 2015 6:01 pm
Location: Netherland/Poland
Contact:

Re: Quest Progress

Post by wioluskaelk »

Like I said few days ago.. I Love you :D
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Progress

Post by Tony Li »

I hope that means it's working! I have a good friend that I love like a brother, but sometimes he's absolutely useless. ;-)

If any issues come up, just let me know!
Post Reply