Jump to content

How to add quest after player sleeps in bed


kane4355

Recommended Posts

  • Replies 48
  • Created
  • Last Reply

Top Posters In This Topic

stage 0 - nothing

 

stage 10 - (nothing checked), log entry, setObjectiveDisplayed(10) fragment

 

stage 20 - (nothing checked), log entry, SetObjectiveDisplayed(20) fragment (Quest objective set under tab for object index 20, target ref DKMDbook)

 

stage 30 - shutdown stage checked, log empty, SetObjectiveCompleted(30), DKIHQ01.Start() under fragment with DKIHQ01 specified under properties, complete quest checked with next quest DKIHQ01

Link to comment
Share on other sites

yea i can send you the esp but there will be a lot missing and it may crash unless i send you the 40 MB of archive files. but basically this is what i want to do: player sleeps in bed, has a dream when player wakes up, quest is added about having the dream pointing to where to go next. when player figures out the clues described in the game he walks into the interior cell. trigger with script to setstage script is set inside cell once player arrives into the specific room, with an objective to find the book, player reads book quest complete.
Link to comment
Share on other sites

Is the objective 10 set?

 

Also, is the book "initially disabled"?

 

no the book isn't initially disabled, didn't add anything to trigger the appearance of the book, although i would like to in the future. my main focus is to just get the quest initially started and working.

 

i didn't set an objective for stage 10. it was more or less set for the player to figure out where it is based on clues left in the description of the game. once the player arrived at the location, the trigger adds an objective.

 

edit: im assuming the trigger for the book would be set under stage 10 in the fragment.

Edited by kane4355
Link to comment
Share on other sites

I don't know why it isn't working :O

 

Are you using a save game? Maybe some old infos are stored in the save so the quest isn't starting well.

 

Do one thing: replace the stage 0 with stage 5 (also in the sleep script).

 

The start the game and type getstage via console. It it displayes 0 then the quest isn't started and there's something wrong. If it displays 5 then the script isn't working.

Edited by gasti89
Link to comment
Share on other sites

I don't know why it isn't working :O

 

Are you using a save game? Maybe some old infos are stored in the save so the quest isn't starting well.

 

Do one thing: replace the stage 0 with stage 5 (also in the sleep script).

 

The start the game and type getstage via console. It it displayes 0 then the quest isn't started and there's something wrong. If it displays 5 then the script isn't working.

 

no save game being used, im COC right from menu.

 

i will try that out.

 

Edit: does the first stage (stage 5) need to be checked as starting stage?

Edited by kane4355
Link to comment
Share on other sites

checked in game, the stage was set to 5. still isnt working. the trigger isnt working, although i put a checker on it so it wouldnt randomly just set a stage. only thing that works is completing the damn quest, and it doesnt even add the new one.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...