
-----------------------------------
Warchamp7
Fri Sep 05, 2008 3:22 pm

&quot;Press Any Key&quot; Flashing Box
-----------------------------------
So yeah, trying to make a sequence that halts everything until you hit a key. Now, this works fine except for that hideous flashing box.

How can I get rid of said box? I've tried Input.Pause and getch but it still remains : /

-----------------------------------
cavetroll
Fri Sep 05, 2008 3:25 pm

Re: &quot;Press Any Key&quot; Flashing Box
-----------------------------------

setscreen("nocursor")


If that doesn't work, its something along those lines.

-----------------------------------
Warchamp7
Fri Sep 05, 2008 3:27 pm

Re: &quot;Press Any Key&quot; Flashing Box
-----------------------------------

setscreen("nocursor")


If that doesn't work, its something along those lines.

I'm laughing at myself right now. Totally forgot about nocursor, thank you.

-----------------------------------
Clayton
Fri Sep 05, 2008 5:27 pm

RE:&quot;Press Any Key&quot; Flashing Box
-----------------------------------
It would be much preferred for you to use View.Set() over setcreen(). If you have a question as to why, check out my tutorial on View.Set() in the Turing Walkthrough.

-----------------------------------
Warchamp7
Fri Sep 05, 2008 8:48 pm

Re: RE:&quot;Press Any Key&quot; Flashing Box
-----------------------------------
It would be much preferred for you to use View.Set() over setcreen(). If you have a question as to why, check out my tutorial on View.Set() in the Turing Walkthrough.

I use View.Set :P I just forgot the parameter :)

-----------------------------------
SNIPERDUDE
Fri Sep 05, 2008 9:17 pm

RE:&quot;Press Any Key&quot; Flashing Box
-----------------------------------
haha, I can't find the "any key".

Sorry...

for keyboard input you could just use
Input.Flush  % Erases any previous information on pressed keys
loop
    % anything else here
    exit when hasch  % checks to see if any key is pressed
end loop
