Can you make NPC follower teleport to you?

Post » Fri Oct 25, 2013 2:14 pm

Hi Everyone,

How do you make your follower teleport with you?

I tried once to script an amulet that OnEquip would run the following script I wrote, (Where Cydriic_VhelkF0 is the ID of a Follower), but it didn't work for a bunch of reasons such as the fact that there seems to be no way to GetActualCellName so as to get an the player cell location reference to use positioncell on the npc object... And also because using position function seems to bug-up when teleporting existing objects that are very far away on the outside world.... So is there anybody who has a way of doing this or should I just resort to Walking around the world without using teleportation spells? I thought of having the npc capable Travel in its AI services, but thats kind of limited and cheaty....

begin CydriicTeleport
float myX
float myY
float myZ
short OnPCEquip
if ( MenuMode == 1 )
Return
endif
if (OnPCEquip == 1)
set myX to ("player"->GetPos, x)
set myY to ("player"->GetPos, y)
set myZ to ("player"->GetPos, z)
playsound, "conjuration hit"
Cydriic_VhelkF0->positioncell, myX, myY, myZ, 1, getpccell
Set OnPCEquip to 0
endif
end CydriicTeleport

User avatar
Arnold Wet
 
Posts: 3353
Joined: Fri Jul 07, 2006 10:32 am

Post » Fri Oct 25, 2013 1:48 pm

Emma has a mod that lets you teleport with your followers or companions. See what she did, or just use her mod

http://lovkullen.net/Emma/TRAVEL.htm

I won't do an Escort Quest without this mod.

User avatar
rae.x
 
Posts: 3326
Joined: Wed Jun 14, 2006 2:13 pm


Return to III - Morrowind