Not sure how to start making an option box come out on screen?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By xdxdcookie

I am not sure what this is called, but what I am trying to make is when a player interacts with a npc, a option box comes up and allows the player to pick an option. The player uses directional keys to select an option. I was thinking I would make the option box hidden until the player interacts with the npc. Is this the right way to do it? Thanks for the help.

I don’t know whether there’s a “right way” to present an options dialog box. But you could have some Control nodes that are populated with the options that are then shown when necessary. You could even set some of the nodes in the editor to use the directional keys.

Ertain | 2020-02-10 00:54

Ok, I think I understand a bit better on how to go with it. I will try and work on it. Thanks again.

xdxdcookie | 2020-02-10 01:01

:bust_in_silhouette: Reply From: djangocoyote

It depends on what kind of dialogue you want, but you could prefill a windowdialog or a popupmenu to listen in on the signal you want to trigger the event. Say, a click on the character, entering a certain area, whatever. When the signal is emitted, call a function to set the menu to visible.