Page 1 of 1

Gamepad quest log navigation

Posted: Fri Aug 21, 2020 11:49 am
by Gergon
Hi! ive been looking through previous posts to point me in the right direction but havent been able to find anything.

Im setting up the quest log which is fine, quests work etc, where i am having a problem is with selecting quests with a gamepad. I was hoping to set navigation events as explicit but as the quests are instantiated into the quest log list im not able to set this? Is there nay way I can set the quest log so when there are multiple quests in the list I can navigate between them using up/down controls?

I am also using the moremountains topdown engine/inventory engine if theres something i need to do with? I can select a quest fine and see its quest description why im unable to achieve right now is navigating between a list of quests.

Thanks for any help!

Kind Regards

Re: Gamepad quest log navigation

Posted: Fri Aug 21, 2020 1:45 pm
by Tony Li
Hi,

Try these settings:
  • Dialogue Manager: Input Device Manager > Tick Always Auto Focus.
  • Standard UI Quest Log Window: Tick Selection Panel > Show Details On Select.
  • If you want to select the first quest button instead of the Close button when the window opens, tick Select First Quest On Open. Otherwise, when the quest log window opens, it will auto-select the Close button and from there you can navigate up to the quest names in the left panel. As you navigate to each one, it will show the details in the right panel.
If you want to set up explicit navigation, make a subclass of StandardUIQuestLogWindow. Override the OnQuestListUpdated() method. Call base.OnQuestListUpdated(), then set up the navigation.