Jump to content

Scripting help


Guest

Recommended Posts

Posted

I wasn't sure where to post this but here seems like a good place.

 

I want to get started with skyrim scripting and even wrote a basic script ready to test, however i don't know the general practices of skyrim scripting. I want to make my script start up as soon as the game start and i can't seem to get it to start. 

 

What is the general way that most scripts trigger on start up?

Posted

 

event OnInt()
 ; "Do whatever you like, but it will be done only once"
endEvent

 

But if you want it to do stuff also on game reload, then you have to call your script by the event OnGameLoad() that has to be inside a ReferenceAlias that is filled with the player.

 

Posted

Got it, i ended up using quest alias.

 

One last question 

 

Is there a way to check if the player is moving/jumping/running, can't seem to find anything along these lines in the papyrus code

Posted

No, there is no easy way to understand if an actor is walking, jogging, or running.

Posted

Any alternatives or work arounds? Maybe using animations is a viable method?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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