ElSte17 Posted May 10, 2012 Posted May 10, 2012 (edited) Hello, I was wondering if someone could explain what I am doing wrong in regards to installing SKSE for use with Papyrus coding. I put the .dll files and .exe files in the /skyrim directory. I put the .pex files in /scripts and the .psc files in /source like it should be. In the read me, it says that all I need to do to be able to use the functions in my Papyrus scripts is to place the .psc files in the right place, which I believe I have done. However, when I doimport input to load the input script in order to use the IsKeyPressed() function I get an error during compiling that says the function doesn't exist. Can anyone explain if I installed it incorrectly please? Thanks,ElSte17 Edit: Scratch that, I'm a moron. I was trying to assign the function to the Player as a reference for some reason, when I realized that was unnecessary because there's only one keyboard. -_- EditEdit: However, could someone please explain to me how to determine the dxkeycode of a keyboard's key? I tried using ASCII but nothing happened... Edited May 10, 2012 by ElSte17
ElSte17 Posted May 10, 2012 Author Posted May 10, 2012 (edited) Here's a list of keycodes. Thanks for the list... So if I want to use something like #define DIK_S 0x1F what do I put for the dxkeycode? Because 0x1F is not exactly an integer? Edit: Scratch that, found a forum with a tutorial finally. Thanks for the help nonetheless. Edited May 10, 2012 by ElSte17
Recommended Posts