Page 1 of 1
Blocked Conversation False Condition has Blank Screen
Posted: Tue Aug 04, 2020 7:43 pm
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 (228.84 KiB) Viewed 487 times
The passthrough option works as expected, so I wasn't sure why the "Block" turned into a blank screen.
Re: Blocked Conversation False Condition has Blank Screen
Posted: Tue Aug 04, 2020 8:54 pm
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.
Re: Blocked Conversation False Condition has Blank Screen
Posted: Wed Aug 05, 2020 2:45 am
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?
Re: Blocked Conversation False Condition has Blank Screen
Posted: Wed Aug 05, 2020 10:12 am
by Tony Li
Hi,
Debug Level is in Other Settings:
- debugLevel.png (35.87 KiB) Viewed 481 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.
Re: Blocked Conversation False Condition has Blank Screen
Posted: Wed Aug 05, 2020 11:52 pm
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.
Re: Blocked Conversation False Condition has Blank Screen
Posted: Thu Aug 06, 2020 8:56 am
by Tony Li
Glad to help!