![]() |
A Keydown command for most every key on the keyboard would be useful... I dont know how hard itd be to do though.
|
1 Attachment(s)
using the key's ASCII number will do it
032 = space 010/013 = carage return (LF/CR) 008 = BkSp 0;51 = F1 0;233 = é etc... |
Thank you very much Galen!
|
|
What is the ASCII number used with? I have tried keydown and #K, but I dont know why they aren't working... can you jst do a quick little example of the command to recognize it? thanks.
|
NPC Code: |
Quote:
|
I have tried those, they do not work, I have tried the following ways:
NPC Code: Do these work for other people? I have tried other ASCII numbers for other keys, but for some reason it doesnt work at all... I think somehow I have to use #K(key) with the brackets since message #K(050); works fine and siplays the number 2. |
Quote:
NPC Code: |
No, that doesnt work, I have tried numerous ways, the either end up with errors, or dont work at all.
|
Blah.
I'll try some things myself now until I find one which works.
|
Hmm...
it probably doesn't work because it takes away the 0 in the actual script in the level itself (I checked that with the debugger), I'll try finidng a way around it. Hmm nope that can't be it either... Graal sees 050 and 50 as the same... Blah, I can't think of anything, except that you could use it to make a password hard to read like:
if (strequals(#c,#K(050)#K(132)) etc. |
| All times are GMT +2. The time now is 06:33 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.