Jump to content

Writing a fast travel script


chairmanxyz

Recommended Posts

So I'm putting this question out to modders who might have come across a fast travel script when browsing the game files or modders with previous experience with the CK. I'm looking into adding an extra function to the fast travel script that triggers when you click on a map marker from the pipboy and fast travel to the marker. I've got to imagine there is some script somewhere that passes the location to some kind of fast travel function that moves the player there. I'm trying to locate some such function so that I can add something to it. Thus far the only reference I've found to a fast travel function has been in Game.psc and it looks more like a single line console command with no code to go with it. I've got to think this is hidden somewhere in a poorly named file.

 

If you've any idea where I might find this, or know of some alternative I'd love to know.

Link to comment
Share on other sites

What Langy said is true, but there is probably a script somewhere that handles spawning the teleportation effect when traveling to or from the Institute

Edit: it is called InstituteTeleportQuestAliasScript and uses OnLocationChange to determine if the player has fast traveled.

Edited by mazakala
Link to comment
Share on other sites

  • Recently Browsing   0 members

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