Making something not follow you on fast travel?

Post » Wed Jun 20, 2012 11:48 pm

I have an NPC that is designated to follow the player in a certain cell, however whenever I fast travel somewhere, he appears next to them. All I've done is give him the basic "follow" package, and set the target to be the player.
How can I prevent him from following the player when the player fast travels?
User avatar
SHAWNNA-KAY
 
Posts: 3444
Joined: Mon Dec 18, 2006 1:22 pm

Post » Thu Jun 21, 2012 4:12 am

set a condition on the follow package that only lets it be active in that cell. once you fast travel out, the package is negated
User avatar
Nicole Kraus
 
Posts: 3432
Joined: Sat Apr 14, 2007 11:34 pm

Post » Thu Jun 21, 2012 2:11 am

Tried that (GetnCell '_tw_trial6' == 1) didn't work.
User avatar
DAVId Bryant
 
Posts: 3366
Joined: Wed Nov 14, 2007 11:41 pm

Post » Thu Jun 21, 2012 6:38 am

alternatively, you could put in a failsafe as a papyrus fragment in the "on change" or "on end" section

self.moveto(RefMarkerInCell)


this will immediately send the npc back to the cell on a designated reference marker (place an xmarker somewhere in the cell where you want the guy to return, and point to the marker as an objectreference property in the fragment)
User avatar
Daniel Holgate
 
Posts: 3538
Joined: Tue May 29, 2007 1:02 am


Return to V - Skyrim