Accessing current dialogue state in custom sequencer command?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
earok
Posts: 2
Joined: Sun Sep 21, 2014 1:58 pm

Accessing current dialogue state in custom sequencer command?

Post 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
User avatar
Tony Li
Posts: 20771
Joined: Thu Jul 18, 2013 1:27 pm

Accessing current dialogue state in custom sequencer command?

Post 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.
User avatar
Tony Li
Posts: 20771
Joined: Thu Jul 18, 2013 1:27 pm

Accessing current dialogue state in custom sequencer command?

Post by Tony Li »

Version 1.3.5 is now available on the Asset Store.
earok
Posts: 2
Joined: Sun Sep 21, 2014 1:58 pm

Accessing current dialogue state in custom sequencer command?

Post by earok »

I've just given the latest update a try and it works perfectly! Thanks for your prompt response :)
Post Reply