Jump to content

[LE] OnUpdate Scripts or Alternatives


Recommended Posts

So, I am working on a mod that adds master level spells. I want to add them to the correct vendors upon completion of the master quests, but I do not want to edit the quest scripts for compatibility sake. I know I could do it with a looping OnUpdate script, but I'm afraid that it would slow papyrus to have the script loop from the start of the game all the way to the completion of the master quest.

 

Is it safe to run a looping OnUpate for that long? Is there an alternative way to check for quest completion?

Link to comment
Share on other sites

Personally I would put a scripted marker object in the College courtyard with an OnCellAttach event to check the status of the quests and make any needed changes. Even if the change doesn't get triggered immediately the player will eventually have to travel through the courtyard and the new spells will become available.

Link to comment
Share on other sites

  On 3/25/2017 at 10:21 PM, cdcooley said:

Personally I would put a scripted marker object in the College courtyard with an OnCellAttach event to check the status of the quests and make any needed changes. Even if the change doesn't get triggered immediately the player will eventually have to travel through the courtyard and the new spells will become available.

That is an excellent idea.

Link to comment
Share on other sites

  On 3/25/2017 at 10:21 PM, cdcooley said:

Personally I would put a scripted marker object in the College courtyard with an OnCellAttach event to check the status of the quests and make any needed changes. Even if the change doesn't get triggered immediately the player will eventually have to travel through the courtyard and the new spells will become available.

This worked perfectly, thank you.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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