Page 5 of 6
Re: Quest Progress
Posted: Sat Nov 07, 2015 9:28 am
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
Re: Quest Progress
Posted: Sat Nov 07, 2015 9:42 am
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.
Re: Quest Progress
Posted: Sat Nov 07, 2015 9:47 am
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...
Re: Quest Progress
Posted: Sat Nov 07, 2015 9:59 am
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?
Re: Quest Progress
Posted: Sat Nov 07, 2015 10:14 am
by Tony Li
Import the "ICode Support" package in Assets/Dialogue System/Third Party Support. This will give you the additional Dialogue System actions.
Re: Quest Progress
Posted: Sat Nov 07, 2015 10:17 am
by wioluskaelk
Okey. I didnt saw that you update it yesterday. thanks
Re: Quest Progress
Posted: Sat Nov 07, 2015 10:23 am
by wioluskaelk
I imported this. I still havent this action.
https://screencloud.net/v/f89f
Re: Quest Progress
Posted: Sat Nov 07, 2015 3:11 pm
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"
Re: Quest Progress
Posted: Sat Nov 07, 2015 4:10 pm
by wioluskaelk
Like I said few days ago.. I Love you
Re: Quest Progress
Posted: Sat Nov 07, 2015 4:27 pm
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!