
09-26-2001, 05:43 PM
|
|
and Delph Inc.
|
 |
Join Date: Jul 2001
Location: Canada
Posts: 1,162
|
|
|
[ Delph Inc. ]
Well if you have managed to get the new version as many of us have...you will see that Stefan has included an ascii command.
You know how each key has a certain numeric value? Well that's what this does.
You give it a number and it calls the key related to that number.
I'll type what it says about it:
- new script function ascii(c) to get the
ascii code of a character (ascii(A) is 65);
the other way (converting ascii code to
character) can still be done by using the
#K(num) message code (#K(65) is A)
This means we should be able to do stuff like
if (keydown(ascii(66)) {
script...
}
That would mean if the player has pressed the character 'b' |
__________________
Xerphier Dintch
Featuring

|
|
|
|