Dialogue System Events to PlayMaker (?)
Posted: Sun Dec 31, 2017 12:08 pm
Hi there,
I've read this manual section...:
http://www.pixelcrushers.com/dialogue_s ... akerEvents
...but I can't get to work the thing as I am expecting it to behave. And to be honest, I'm not even sure if I've understood correctly what it's supposed to do.
My main objective is to trigger PlayMaker actions inside an FSM, in an "ENGINE" GameObject, when a conversation starts and ends. To hide and show some UI elements, to be accurate.
I know I could do that the normal way, with the conventional Dialogue System Events component but, from what I've understood in the manual, Dialogue System Events to PlayMaker could be a better solution as it seems to "broadcast" events to all active FSMs (?).
So I went and added that component to Dialogue System Manager and then I've created an 'OnConversationStart' event on an FSM, declared it as 'global' and made this test FSM...:
'Disable UI' deactivates my UI panels... but it never gets executed, as 'OnConversationStart' doesn't get called.
I then went and filled out these fields inside the component...:
...just in case, but it's still not working.
So, what am I doing wrong here? Did I misunderstand what 'Dialogue System Events to PlayMaker' is supposed to do?
Thank you.
I've read this manual section...:
http://www.pixelcrushers.com/dialogue_s ... akerEvents
...but I can't get to work the thing as I am expecting it to behave. And to be honest, I'm not even sure if I've understood correctly what it's supposed to do.
My main objective is to trigger PlayMaker actions inside an FSM, in an "ENGINE" GameObject, when a conversation starts and ends. To hide and show some UI elements, to be accurate.
I know I could do that the normal way, with the conventional Dialogue System Events component but, from what I've understood in the manual, Dialogue System Events to PlayMaker could be a better solution as it seems to "broadcast" events to all active FSMs (?).
So I went and added that component to Dialogue System Manager and then I've created an 'OnConversationStart' event on an FSM, declared it as 'global' and made this test FSM...:
'Disable UI' deactivates my UI panels... but it never gets executed, as 'OnConversationStart' doesn't get called.
I then went and filled out these fields inside the component...:
...just in case, but it's still not working.
So, what am I doing wrong here? Did I misunderstand what 'Dialogue System Events to PlayMaker' is supposed to do?
Thank you.