|Topic was automatically imported from the old Question2Answer platform.
I defined an “interaction key” , and once the key is pressed, a dialog box between player and NPC popup. After the dialog box is on, press the “interaction key” will go to next line of dialog. When dialog goes to the last line, press the “interaction key” will close the dialog popup window.
The problem: When press the “interaction key” to close the dialog window, the dialog window will be activated again at the same time. So the dialog box is keep showing in an endless loop.
Is that a way to make the “interaction key” only works after a release from the previous action. for example, the action of press key to close the dialog window not triggering the opening again. Thank you very much.