Jump to content

Teleport Followers


dankicity

Recommended Posts

Ok so I can't figure out how to get followers to teleport with the player.

 

I have a lift that prompts which floor in the house you want and then takes you there. Just no follower.

 

For now the lift is an actual door but I'll be moving it to an activator with the lift model and a trigger.

 

Scriptname DTSLiftSCRIPT extends ObjectReference  
{Teleports player to the different floors and cells}

ObjectReference[] Property TeleportMarkers auto
{The possible markers for us to teleport to}

ObjectReference property CurrentMarker auto
{Players current marker location}

message property DTSLiftMSG auto
{The message buttons to show the player in the same order as TeleportMarkers}

int MessageChoice
ObjectReference MessageChoiceMarker

Event OnActivate(ObjectReference akActionRef)
blockActivation()
MessageChoice = DTSLiftMSG.show()
MessageChoiceMarker = TeleportMarkers[MessageChoice]
if (CurrentMarker == MessageChoiceMarker)
	blockActivation(TRUE)
	debug.MessageBox("You're already here")
else
	Game.GetPlayer().MoveTo(MessageChoiceMarker)
	blockActivation(FALSE)
EndIf
EndEvent

 

Thanks ahead for any hints.

 

[edit]

found answer in:

http://forums.nexusmods.com/index.php?/topic/569864-door-with-multiple-destinations/page__hl__teleport__st__10

 

but unsure if this will work with mods like unlimited followers

Edited by dankicity
Link to comment
Share on other sites

  • Recently Browsing   0 members

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