Is there a Playmaker Action for entry Dialogue Text
Is there a Playmaker Action for entry Dialogue Text
Hello I am trying to use the use the dialogue system with Playamaker. I specifcally want to get the dialogue text from the current entry and send it to playmaker. Is there an action for this? and is there one that can prompt the dialogue system to more to next entry?
Re: Is there a Playmaker Action for entry Dialogue Text
Hi,
> I specifically want to get the dialogue text from the current entry and send it to playmaker. Is there an action for this?
Add a Dialogue System Events To Playmaker component to your Dialogue Manager or any GameObject that will receive Dialogue System messages (see table).
This will raise an FSM event named "OnConversationLine" for entry dialogue text. The event's string data will be the dialogue text.
> and is there one that can prompt the dialogue system to more to next entry?
You can use Playmaker's Send Message action to send the message "OnConversationContinueAll" to the Dialogue Manager GameObject.
Or write a custom action that calls this line of C# code:
> I specifically want to get the dialogue text from the current entry and send it to playmaker. Is there an action for this?
Add a Dialogue System Events To Playmaker component to your Dialogue Manager or any GameObject that will receive Dialogue System messages (see table).
This will raise an FSM event named "OnConversationLine" for entry dialogue text. The event's string data will be the dialogue text.
> and is there one that can prompt the dialogue system to more to next entry?
You can use Playmaker's Send Message action to send the message "OnConversationContinueAll" to the Dialogue Manager GameObject.
Or write a custom action that calls this line of C# code:
Code: Select all
PixelCrushers.DialogueSystem.conversationView.OnConversationContinueAll();