Jump to content

Scripting Help


David Brasher

Recommended Posts

What block of type do we use when we want to use an Oblivion scripting language style Begin GameMode block in Papyrus?

 

I imagine it will be sort of like:

 

Event On*Something or Other*

Link to comment
Share on other sites

I'm not sure that there's anything that's exactly the same. Two events I think might work would be 'OnInit' and 'OnLoad'.

 

I know that OnInit seems to run immediately, and that it also runs when the object/quest it's on gets reset. I'm unsure if it runs every time you load your game or just the first time though.

 

OnLoad will run every time that the object it's on gets loaded.

 

Inside both those events, you will need to use RegisterForUpdate. Then put whatever you would have put in the GameMode block in Oblivion inside the OnUpdate event bock.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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