Little to no player interaction

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
danosono
Posts: 16
Joined: Sun Jun 21, 2020 7:17 pm

Little to no player interaction

Post by danosono »

How would I set up so there is a main narrator and a couple other sidekicks but the player does not interact with them.

I would like the player to be able to choose between:
-having the narration carry on without player-interaction
-the need to click [Continue] or [OK] before the current text is removed

but, other than that, the player will not be responding to or interacting with the other actors.

Kinda like Defense Grid and Defense Grid 2

I guess I am asking for a best-practice direction; I can see ways to do this in DSfU but I am just starting a project and I am not super familiar with the MANY ways of doing things in this great asset. I don't want to start on the wrong foot.

Thanks!
Danny
Jesus is the answer to every problem.
https://www.gotquestions.org/know-Jesus.html
https://store.steampowered.com/app/2151420/Word/ Longest typing game on Steam OO
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Little to no player interaction

Post by Tony Li »

Hi Danny,

Just assign NPC actors to your conversation. When you create a conversation, select Menu > Conversation Properties or click on blank canvas space. This will show the conversation's properties in the Inspector. Set the Actor and Conversant dropdowns to NPC actors (i.e., actors whose Is Player checkbox is unticked).

To toggle between having the narration carry on without player-interaction or requiring the player to click [Continue], set the Dialogue Manager's Display Settings > Subtitle Settings > Continue Button dropdown to Always or Never. A simple way to do this at runtime is to add a Conversation Control component to your Dialogue Manager or dialogue UI. Then call its ToggleAutoPlay() method. This will toggle the Continue Button dropdown between Always and Never.
danosono
Posts: 16
Joined: Sun Jun 21, 2020 7:17 pm

Re: Little to no player interaction

Post by danosono »

Thanks so much Tony!

Got it working in no time with your excellent help.
Last edited by danosono on Wed Apr 26, 2023 8:46 pm, edited 1 time in total.
Jesus is the answer to every problem.
https://www.gotquestions.org/know-Jesus.html
https://store.steampowered.com/app/2151420/Word/ Longest typing game on Steam OO
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Little to no player interaction

Post by Tony Li »

Glad to help!
Post Reply