Blocked Conversation False Condition has Blank Screen

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
xuoot
Posts: 19
Joined: Wed Jul 29, 2020 3:01 am

Blocked Conversation False Condition has Blank Screen

Post by xuoot »

Hi Tony!

Thanks again for your support! I had a question around the Lobby Textline demo -- when I try to add a condition with a False Condition set to "Block" and the game gets to that point -- the game screen goes blank. Not sure if this is a Lobby example specific issue or if I'm doing something wrong. Attached is a picture of the screen -- there aren't any errors so I didn't know what was happening. Thanks!
Screen Shot 2020-08-04 at 4.42.05 PM.png
Screen Shot 2020-08-04 at 4.42.05 PM.png (228.84 KiB) Viewed 490 times


The passthrough option works as expected, so I wasn't sure why the "Block" turned into a blank screen.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Blocked Conversation False Condition has Blank Screen

Post by Tony Li »

That may mean that the conversation has ended because the node's Conditions are false. In general, in the Textline framework do not allow conversations to end. Instead, make them loop back so the conversation stays active, or set the last node's Sequence to "WaitForMessage(Forever)" to make it stay on that last node. The Textline UI's Menu button will let the player get back to the Lobby from the active conversation.

To know if the conversation has ended, temporarily set the Dialogue Manager's Debug Level to Info. Then play through the scenario again. The Console will contain many log lines, including lines such as:

Dialogue System: Starting conversation 'Title' with actor=X and conversant=Y.

and

Dialogue System: Ending conversation.

If you see "Dialogue System: Ending conversation," then the conversation has ended.
xuoot
Posts: 19
Joined: Wed Jul 29, 2020 3:01 am

Re: Blocked Conversation False Condition has Blank Screen

Post by xuoot »

Thanks Tony! How would I turn on the Debug to Info? I don't see that as an option in my Dialogue Manager gameobject menu. Thanks! So to clarify, when a conversation ends/blocks, the game will automatically exit the scene?
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Blocked Conversation False Condition has Blank Screen

Post by Tony Li »

Hi,

Debug Level is in Other Settings:

debugLevel.png
debugLevel.png (35.87 KiB) Viewed 484 times

When a conversation ends, it simply closes the dialogue UI. In a typical game, that's exactly what you want to happen. But in Textline you want the dialogue UI to stay visible to keep it looking like an SMS interface, and also to keep the Menu button available.
xuoot
Posts: 19
Joined: Wed Jul 29, 2020 3:01 am

Re: Blocked Conversation False Condition has Blank Screen

Post by xuoot »

Thanks Tony! That makes a lot of sense and it works now -- I do see that the conversation has ended so I'll use the looping approach.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Blocked Conversation False Condition has Blank Screen

Post by Tony Li »

Glad to help!
Post Reply