Dark Age Games
Home Dark Age EX Dark Age 2 Message Board Fan Art FAQ Kelzar Mage DALpedia MS Forum
Board Index Dark Age General Bug Report Website Off Topic Register User Edit User User List Search

In reply to: Need help -- Tough Dragon 13:53:01 07-23-2005

Well...
Posted by: Xorlak
11:52:37 07-24-2005

If you need to check keystrokes, you need the wait() command.  For example:

a$ = wait()
if(a$ == "ENTER")
{
  // Enter key pressed
}
elseif(a$ == "A")
{
  // Letter 'a' pressed on keyboard
}

etc...


You could also use get() in a loop, if you're going for a more real time effect.

----------
-Xorlak
Edit Post