Skip to content

Any idea how to use directional buttons to make dialog choices? (Not hotkeys) #886

Answered by zaknafean
Kodykthnx asked this question in Q&A
Discussion options

You must be logged in to vote

It actually should work right out of the box if you haven't played with your settings.

If that's checked, then it will just work, and you can use the keyboard/controller. BUT there doesn't appear to be any indicator of what's selected, so you can't tell that a choice has focus. That's a bit of a known issue we've been putting off, and while I don't have an ETA on a fix for it, you can side step it by doing the following:

  1. Go to 'ChoiceButton.tscn' located at res://addons/dialogic/Nodes/ChoiceButton.tscn
  2. Connect the 'focus_entered' and 'focus_exited' signals and modulate the button to a color of your choice.

You can do 2 by adding the following code to ChocieButton.gd

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kodykthnx
Comment options

Answer selected by zaknafean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants