Is there a console command to make an NPC appear before you?

Post » Fri Aug 01, 2014 3:58 am

In regards to poor AI pathfinding, can I make a follower appear before me using the console?

User avatar
Natalie Harvey
 
Posts: 3433
Joined: Fri Aug 18, 2006 12:15 pm

Post » Fri Aug 01, 2014 3:21 am

Find the NPC's RefID (usually by clicking on them) and type, without quotes, "moveto player"

There's a similar command, "placeatme", don't use that one, it creates a brand new copy of the NPC, like a clone. "moveto" just takes the existing one and automatically moves them from wherever they are. I've had to use it a few times with Serana, myself.

User avatar
Baby K(:
 
Posts: 3395
Joined: Thu Nov 09, 2006 9:07 pm

Post » Fri Aug 01, 2014 3:25 am

Hm, the moveto player isn't working.

I tried moving Hul in balmora, who's refId is Hul00000000. I typed "moveto playerhul00000000" and just moveto player, and moveto player00000000. ????

User avatar
IsAiah AkA figgy
 
Posts: 3398
Joined: Tue Oct 09, 2007 7:43 am

Post » Fri Aug 01, 2014 11:35 am

That's because Morrowind doesn't use that command. And no ID looks anything like Hul00000000

PlaceAtPC "hul",1,20,1
That will place Hul a few feet in front of you. But as mentioned, it creates a duplicate which is not good.

In MW, most NPCs use the same ID as their name.

User avatar
Skivs
 
Posts: 3550
Joined: Sat Dec 01, 2007 10:06 pm

Post » Fri Aug 01, 2014 2:12 am

Thanks, so is there no way of moving an NPC without making a duplicate?

User avatar
Devils Cheek
 
Posts: 3561
Joined: Sun Aug 13, 2006 10:24 pm

Post » Fri Aug 01, 2014 1:14 am

It's not easy, but it is doable. Basically you'll need to find your x,y, and z coordinates and then apply those to the NPC:

In the console, type:

Player->GetPos x

Player->GetPos y

Player->GetPos z

And write those numbers down.

Next, open up the console and click on your targeted NPC and type:

SetPos x

SetPos y

SetPos z

Note that this will put them right on top of you, so you may want to back up a bit first.

User avatar
Monika Krzyzak
 
Posts: 3471
Joined: Fri Oct 13, 2006 11:29 pm

Post » Fri Aug 01, 2014 12:18 am

placeatpc worked, thanks :)

User avatar
Darlene DIllow
 
Posts: 3403
Joined: Fri Oct 26, 2007 5:34 am


Return to III - Morrowind