Hello, simple noob question, if its already answered im sorry that I couldent find it.
anyway, im using playmaker and i have a few different conversations created. when i click on the NPC i would like to display one of them randomly. I have no issues getting conversations to come up, i just dont know how to set it to pick one randomly .thanks in advance.
Playmaker Random Conversation
Re: Playmaker Random Conversation
Hi,
You can configure the Start Conversation action to use a PlayMaker variable. Prior to this action, set the variable to a random conversation's title using PlayMaker's built-in actions.
Alternatively, create a "hub" conversation in the Dialogue Editor. Link the <START> node to a group node. Set the group node's Script to: RandomizeNextEntry(). Then link that group node to the conversations that you want to randomly start. In PlayMaker, start the hub conversation.
You can configure the Start Conversation action to use a PlayMaker variable. Prior to this action, set the variable to a random conversation's title using PlayMaker's built-in actions.
Alternatively, create a "hub" conversation in the Dialogue Editor. Link the <START> node to a group node. Set the group node's Script to: RandomizeNextEntry(). Then link that group node to the conversations that you want to randomly start. In PlayMaker, start the hub conversation.
Re: Playmaker Random Conversation
Thanks! I have it working using the "hub" method
I tried doing it using variables but I couldn't figure out how to get the list of conversations from the dialogue manager
I tried doing it using variables but I couldn't figure out how to get the list of conversations from the dialogue manager
Re: Playmaker Random Conversation
There's no PlayMaker action to get a list of conversations from a dialogue database. You'd have to write such an action yourself or manually populate the list.
I'm glad the hub approach worked out. I prefer it because it keeps the content in one place (the dialogue database).
I'm glad the hub approach worked out. I prefer it because it keeps the content in one place (the dialogue database).