Jump to content

[LE] Making the player travel with a dialogue


MathLeBeau

Recommended Posts

You need to link the property to the Object Reference. So you need to click on the script to bring up the property list then link the property to the xmarkerheading that is in the world which is at the location where you want to teleport to.

Link to comment
Share on other sites

  • 8 months later...

How are you guys getting the script to show up so cleanly in your source file? I just get a bunch of blocks and weird spacing.

 

EDIT:

Nevermind. I realized that you meant right-clicking the script in the creation kit and then choosing "edit source".

Edited by jucoking
Link to comment
Share on other sites

  • 2 years later...

For future reference, anyone using this method of teleporting the player should have a final script that looks similar to this (continuing with the script used here in the discussion):

 

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 4
Scriptname ST___TIF__03021322 Extends TopicInfo Hidden

;BEGIN FRAGMENT Fragment_3
Function Fragment_3(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
Game.GetPlayer().MoveTo(ST_TamrielLandingMarker)
;END CODE
EndFunction
;END FRAGMENT

;END FRAGMENT CODE - Do not edit anything between this and the begin comment

ObjectReference Property ST_TamrielLandingMarker Auto

 

Please note that the change I am posting is between the ";BEGIN CODE" and ";END CODE" portion of the script. This is for my own reference in the future and something that wasn't mentioned here in discussion.

Edited by jucoking
Link to comment
Share on other sites

  • Recently Browsing   0 members

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