after calling function from another function after get input, previous text entered persists
Vurt834
12 Mar 2023, 00:20Hi, I'm having an annoying problem that persists even after hours and hours of research. I'm putting together a fake computer that you navigate through menus. Using get input, depending on the result I get I call different custom functions. The problem is, when another function is called, and I use get input again, the text enter from the previous get input doesn't go away, which I imagine would be confusing for the player. Any suggestions on how to solve this?
Vurt834
02 Apr 2023, 19:53For anyone who might be interested, after a lot of experimentation, I finally solved this problem. JS.eval ("$('#txtCommand').val('');") just use it before another get input, and you're good
Ip Man
10 May 2023, 03:28Thanks for sharing your solution!
New to quest, but I intend to have a realm in my game that is Star Trek/Star Wars feel, this should come in handy!