I'm sorry for asking all of these questions.. it's the last one, I promise. I was wondering if there was a way you could use some controls on the keyboard. I see all the keycodes in the global script but I don't know how to get them.
Just do it like a normal "if" statement, like:
if (keycode == 32) {
Display("You just pressed the Spacebar.");
}
Then go into your game and press the spacebar and that message will show up. To find the keycode that corresponds to the different keys, go to the AGS help file and search for "on_key_press".
~Wolfgang
Also check out this thread in the new Technical Archive forum
http://www.agsforums.com/yabb/index.php?board=10;action=display;threadid=8303