Jump to content


Photo

Input Nowait


  • Please log in to reply
1 reply to this topic

#1 geniusalz

geniusalz

    Team MXM

  • Head Moderators
  • PipPipPipPipPip
  • 1,827 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 02 December 2003 - 10:08 PM

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


#2 BenJeremy

BenJeremy

    X-S Elysian

  • Head Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,690 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:v1 (xenon)

Posted 02 December 2003 - 10:17 PM

It should work, but the input is sometimes a bit belligerent.

That's another reason I'm working on revamping the input.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users