Help - Search - Members - Calendar
Full Version: Input Nowait
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official MediaXMenu (MXM) Forum > MXM ActionScripting Forum
geniusalz
I tried making a small script that uses input nowait, but I can't get it to work like I want it to.

How exatly does input nowait work?

This is my script:
CODE

SET YY 100
SET XX 100
SET Y1 0
SET X1 0


INPUT
GOTO BLAH

:Blah

If %_GP_D_LF% == "1" GOTO LF
If %_GP_D_UP% == "1" GOTO UP
If %_GP_D_DN% == "1" GOTO DN
If %_GP_D_RT% == "1" GOTO RT
If %_GP_A% == "1" GOTO EXIT

GOTO DRAWIT

:DN
SET Y1 1
GOTO DRAWIT
:LF
SET X1 -1
GOTO DRAWIT
:RT
SET X1 1
GOTO DRAWIT
:UP
SET Y1 -1
GOTO DRAWIT

:DRAWIT
ADD XX %X1%
ADD YY %Y1%

BEGINDRAW
BOX %XX% %YY% 10 10 Black White
ENDDRAW

INPUT NOWAIT

GOTO BLAH

:EXIT
QUIT
BenJeremy
It should work, but the input is sometimes a bit belligerent.

That's another reason I'm working on revamping the input.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.