Reply to Re: What are all the keys that can be used in scripts?
If you don't have an account, just leave the password field blank.
I believe some of the DinkHD key codes in that uploaded file are inaccurate for the latest version of DinkHD. I can't remember when but at some point in an update, I'm almost positive the odd keys(non letter and number keys) changed key codes.
Please note, I could be wrong, but I'm confident they changed at some point. Worth testing. Unfortunately with DinkHD pressing a key doesn't display the key code in the log or console unless the key code script exists in the story folder(even if it's just a blank script).
I used a python script to just generate a bunch of key-### codes up to 256 and use that so they'll display in console so I can check. Although as part of that generation script it also generates a main procedure with a say line that makes Dink say "This key is key ###" where ### is the actual key code, just so I don't have to check debug, or console and I can rapidly check key codes by just hitting them. Dunno if it'd be worth uploading that, other than checking key codes it's an otherwise redundant file. Also not hard for someone to also generate those scripts in the same way to do the same tests.
Please note, I could be wrong, but I'm confident they changed at some point. Worth testing. Unfortunately with DinkHD pressing a key doesn't display the key code in the log or console unless the key code script exists in the story folder(even if it's just a blank script).
I used a python script to just generate a bunch of key-### codes up to 256 and use that so they'll display in console so I can check. Although as part of that generation script it also generates a main procedure with a say line that makes Dink say "This key is key ###" where ### is the actual key code, just so I don't have to check debug, or console and I can rapidly check key codes by just hitting them. Dunno if it'd be worth uploading that, other than checking key codes it's an otherwise redundant file. Also not hard for someone to also generate those scripts in the same way to do the same tests.