How can I create a input window?
Suwonian
14 Nov 2012, 14:41Is there anyway to create an input box window? For example, when I click on "use" for a security key pad, I'd like a small window to appear where the user can input the code. I'd like to do it this way so that the use can't click on anything else while the program (i.e. getInput) is waiting for the input.
The Pixie
14 Nov 2012, 15:16Try the script command "get input". Notr sure if it is exactly what you want, but I do not think there is anything else.
http://quest5.net/wiki/Get_input
http://quest5.net/wiki/Get_input
sgreig
14 Nov 2012, 22:10There's no function in Quest that will create a pop-up window for player input. That being said however, it might be possible to add something like this yourself with JavaScript or something, but I can't say that for sure.
The Pixie
16 Nov 2012, 08:01Is there are documentation anywhere about using JavaScript with Quest? Anything at all, even just example code, would be useful.

Pertex
16 Nov 2012, 08:57Yes, here: http://quest5.net/wiki/Using_Javascript
Ahh, I understand. You want to do something like this:
Strange, I just noticed that this is not working with Q5.3. It ignores the JS command prompt
Ahh, I understand. You want to do something like this:

Strange, I just noticed that this is not working with Q5.3. It ignores the JS command prompt
The Pixie
16 Nov 2012, 10:58Thanks for that, the simple program makes it much easier to understand.
So much so that I have written a Wiki page, which I think will be easdier to understand that the older one:
http://quest5.net/wiki/Javascript
So much so that I have written a Wiki page, which I think will be easdier to understand that the older one:
http://quest5.net/wiki/Javascript
Suwonian
17 Nov 2012, 11:20Pertex, thank you for taking the time to help me. The prompt box looks great. Pixie, thank you for the new Wiki page.