How to connect with Playmaker

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
nhatluan98
Posts: 3
Joined: Wed Oct 09, 2024 10:16 pm

How to connect with Playmaker

Post by nhatluan98 »

I'm using playmaker for making a NPC can talking with Player. The problem is after having done the dialouge, i can't find the way to make transition back to state 1 ( Pic 1 ).
I'm trying to use send event but it gon' send event immediately the dialouge panel starting. Then i try use On Conversation End by adding Dialogue trigger for a NPC and sending a message "CONVERSATION_END" to make a global transition for state 1(Pic 2), but it may not send the exact message to FSM.
Is there any way to do this action ?. Thank for helping
Attachments
Pic1
Pic1
State2.jpg (68.33 KiB) Viewed 46 times
Pic2
Pic2
State1.jpg (70.16 KiB) Viewed 46 times
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to connect with Playmaker

Post by Tony Li »

Hi,

You want the Skeleton_Warrior's FSM to transition from the Start Dialogue state to the Idle state when the conversation ends, correct?

If so, you can use the "Is Conversation Active" action on your Start Dialogue state. Configure it check every frame. When it returns false, transition back to Idle.
nhatluan98
Posts: 3
Joined: Wed Oct 09, 2024 10:16 pm

Re: How to connect with Playmaker

Post by nhatluan98 »

it's working, thanks a lot
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to connect with Playmaker

Post by Tony Li »

Glad to help!
Post Reply