Page 1 of 1

How to get current Conversation ID (in PlayMaker if posible)?

Posted: Sat Sep 15, 2018 3:59 pm
by Abelius
What the title says...

There a lot of PlayMaker actions I can use, but I don't find any that could do that trick for me.

Is it possible?

Thanks!

Re: How to get current Conversation ID (in PlayMaker if posible)?

Posted: Sun Sep 16, 2018 6:57 am
by Tony Li
Not yet, but in 1.8.6 and 2.0.5 I'll add actions to get the current conversation ID, title, actor, and conversant. Do you need to know the conversation started via a trigger / PlayMaker Start Conversation action, or the current linked conversation in case you've linked from one conversation to another?

BTW, to get them via code, read:
  • DialogueManager.LastConversationStarted & LastConversationID for the title & ID of the conversation started via trigger / PlayMaker.
  • DialogueManager.CurrentActor & CurrentConversant for the transforms of the participants.
  • DialogueManager.CurrentConversationState for the current conversation state: current conversation ID, speaker, listener, dialogue entry, etc.

Re: How to get current Conversation ID (in PlayMaker if posible)?

Posted: Sun Sep 16, 2018 11:54 am
by Abelius
Those actions will be nice to have. I can't say if knowing the starter type will be useful for me (not atm, at least), but being able to know the current ID, even when it has a "parent" one, that would be useful.

Thank you!