Page 1 of 1

Accessing current dialogue state in custom sequencer command?

Posted: Sun Sep 21, 2014 10:10 am
by earok
Hi there,



I'm unable to work out a way to access the current dialogue state in a custom sequencer command (I simply want to be able to update a TextMesh in the scene with the current subtitle text). I note that the documentation refers to:



"ConversationState PixelCrushers.DialogueSystem.DialogueManager.CurrentConversationState"



But this doesn't appear to be present in the version I'm using (1.3.4.1)







Cheers,



Erik

Accessing current dialogue state in custom sequencer command?

Posted: Mon Sep 22, 2014 12:20 am
by Tony Li
Hi Erik,



DialogueManager.CurrentConversationState.subtitle.formattedText.text was introduced in 1.3.5.



If you'd like to download version 1.3.5, please email your invoice number to me at tony (at) pixelcrushers.com. Otherwise it should be on the Asset Store in the next couple of days.

Accessing current dialogue state in custom sequencer command?

Posted: Mon Sep 22, 2014 7:46 am
by Tony Li
Version 1.3.5 is now available on the Asset Store.

Accessing current dialogue state in custom sequencer command?

Posted: Mon Sep 22, 2014 5:32 pm
by earok
I've just given the latest update a try and it works perfectly! Thanks for your prompt response :)