Jump to content

[LE] Event when other quest is moved to a given stage


Recommended Posts

Hello,

 

Is it possible to have an Event for when a Quest is moved to a given stage?

 

For example:

 

Quest Property MonitoredQuest  Auto
 
Event <???> ; when MonitoredQuest was moved to f.e. Stage 60 by anything in the game.
    ; where I want to do my stuff.
EndEvent

 

Because the quest in question is a vanilla one, for the sake of compatibility, I'd like to avoid directly editing its stage 60 fragment just to add my stuff.

 

If it's not possible with events directly, then what would be the correct way to do this? How do I execute my script stuff when a quest is moved to a certain stage?

Link to comment
Share on other sites

Well, one way to do this is to make a new spell ability and put it on the player with the condition GetStage SomeQuest >= SomeNumber and use OnEffectStart() to do your script stuff. You can also make a new ai package with the same conditions, put it on an alias and fill the alias with an actor and use OnPackageStart. I think the ability would update faster though.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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