Jump to content

Quest Stage based NPC location


DragonRose11

Recommended Posts

I would like to change an NPC's location based on the stage of a quest. Here's an example of what I would like to do.

 

Quest stage 10: My custom NPC sandboxes in Markarth Silver Blood Inn

Quest Stage 30: My custom NPC sandboxes in The Bannered Mare

 

Is this possible? If so, how could I accomplish this?

 

Thanks in advance for your time.

Edited by DragonRose11
Link to comment
Share on other sites

Nevermind I figured it out. For those who want to know, here's what I did:

 

Create a tiny room in a cell, and place him in it.

Create an xmarker and create a forced reference to it in the quest

Create an xmarker to where you want him in stage 10

 

Papyrus snippet for stage 10

Alias_Zaru.getReference().moveto(Alias_ZaruStage10.getReference())

Alias_Zaru.getReference().enable()

 

Papyrus snippet for stage 20

Alias_Zaru.getReference().moveto(Alias_ZaruCell.getReference())

Alias_Zaru.getReference().disable()

Edited by DragonRose11
Link to comment
Share on other sites

  • 3 weeks later...
  • Recently Browsing   0 members

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