kert349 Posted December 22, 2010 Share Posted December 22, 2010 Hihow can you make NPC (companion in this case) follow you when you fast travel / exit building? the thing is i spawned NPC gave it follow package but it only follows until i leave the cell. and when i come back it doesnt follow anymore, any one know why??? Link to comment Share on other sites More sharing options...
WastelandAssassin Posted December 22, 2010 Share Posted December 22, 2010 i think it is done through a script i know that the companions are scripted, that if they get too far away from you, they are set to be right near youdon't know if this works on different cells though you may want to look at how the vanille companions were made, to see what needs to be done Link to comment Share on other sites More sharing options...
WastelandAssassin Posted December 22, 2010 Share Posted December 22, 2010 ok, looked around a bit, to see if i can find an answerthis is from this thread here: written by GodOfAlcoholIve written a script for my follower to follow me into interior Cells. For me it works, so Ill try to remember it ;) ref MySelf begin gamemode if(MySelf != GetSelf) set MySelf to GetSelf ; set MySelf variable to the Followers reference endif if(MySelf.HasBeenHired == 1 && MySelf.Waiting == 0 && Player.IsInInterior == 1 && MySelf.IsInInterior == 0 ) MySelf.MoveTo Player 50,0,0 endifend The follower must have the following variables in his script:Waiting - indicates he is not following youHasBeenHired - idicates he already has been hired by the playerIf the follower has other variables than these, you'll have to replace them in the code. This script will move the follower in front of the player, when he enters an interior cell.You'll have to add these code into the script of he follower you want to follow you (i.e. Clover's Script,Jericho's Script etc.)When theres already a "begin Gamemode" block in the script, just add these contents into that block. Hope it helps ;) maybe this will help Link to comment Share on other sites More sharing options...
Recommended Posts