Jump to content

[LE] Quest stage change on object spawning


Recommended Posts

Good time of day, I'm make some mod and and need help with a script that when you save an object (for me it's a chicken) would change the stage of the quest

 

I'm thinking about making a special activator and when chicken is spawned in this activator it would change the stage of the quest, but do not know what script to make me for this activator

 

 

 

Thanks in advance

Link to comment
Share on other sites

Add to the 'Base' actor chicken, which needs to have a unique ID that belongs to your mod, this means to not use the default vanilla chicken actor, this script:

Quest Property MyQuest Auto
Int Property MyQuestStage Auto
 
EVENT OnLoad()
      MyQuest.SetStage(MyQuestStage)
      GoToState("AllDone")
ENDEVENT
 
STATE AllDone
ENDSTATE
Edited by maxarturo
Link to comment
Share on other sites

Those lines are preferable to be inside the quest object, in each stage (in the stage tab).

But, if you haven't created 'objectives' inside the quest object, then no objectives will be displayed on screen when those lines are been called.


* I do realize that you are a beginner and what I wrote may have 0% sense to you, that's why I would suggest you to watch a video tutorial about basic quest creation, there must be a bunch of them online.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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