Jump to content

Forcing a script to run


Fredas

Recommended Posts

Does your script extends 'Quest'? If it doesn't it might happen that Skyrim ignores your script.

Does your script has the event "OnInit"? That's the event that's called when you installed the mod for the first time.

 

If you want to start the quest every time you load a game your script needs to extend RefereceAlias, and is attached to a QuestAlias pointing at the player, and the event is 'OnPlayerLoadGame'.

Link to comment

If you want to start the quest every time you load a game your script needs to extend RefereceAlias, and is attached to a QuestAlias pointing at the player, and the event is 'OnPlayerLoadGame'.

 

That's a useful tip.  Under other circumstances, I probably would have ended up struggling without that information.  Fortunately, in this case, my script effectively does not stop running; it needs to almost perpetually update certain variables.

Link to comment

Archived

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

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use