Jump to content

How do I Install SKSE so that I can use it in Papyrus?


Recommended Posts

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 do

import 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 by ElSte17
Link to comment
Share on other sites

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 by ElSte17
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...