The Dink Network

Making keys in Dinkedit or .c or whatever

July 21st 2002, 12:37 PM
death.gif
Cadmus
Peasant They/Them
 
If I wanted to make a it so that if you pessed abutton, it would do something, how whould I do that? Like if you pressed "x" Dink would say "Hi" or whatever.
July 21st 2002, 02:11 PM
old.gif
: If I wanted to make a it so  that if you pessed abutton, it would do something, how whould I do that?  Like if you pressed "x" Dink would say "Hi" or whatever.

Start dinkedit and just open a screen, now just press "x" or hold it, but write down the number between the (), example, if you press "a" {65} (65) will appear. Now, make a script, for the "x" and name it: key-*.c *= the number between the ()
July 21st 2002, 05:52 PM
anon.gif
bdjnk
Ghost They/Them
 
: : If I wanted to make a it so  that if you pessed abutton, it would do something, how whould I do that?  Like if you pressed "x" Dink would say "Hi" or whatever.

: Start dinkedit and just open a screen, now just press "x" or hold it, but write down the number between the (), example, if you press "a" {65} (65) will appear. Now, make a script, for the "x" and name it: key-*.c   *= the number between the ()

You don't have to that whole dinkedit key pressing deal, instead just go to: http://www.dinknetwork.com/author_keycodes.txt as all of the keys a written out next to their numbers.