Jump to content

Forcing a script to run


Fredas

Recommended Posts

Posted

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'.

Posted

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.

Archived

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

  • Recently Browsing   0 members

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