Jump to content

Teleportation Script Assistance


Recommended Posts

I can't figure out how to get teleportation to work, doesn't help that I don't really have much of a clue when it comes to papyrus scripting. Anyway what I'm trying to do is give users of my mod "The Wild Wasteland" a way to get into my testing cell, mainly for xbox users as they can't use console commands. Basically I've tried making a radio, a television, a button and a holotape that are supposed to teleport the user to the cell. However none of it works and I'm close to ripping my hair out. Here's what my most recent attempt looks like. Also I can't compile terminal fragments for whatever reason. If someone could explain to me what I'm doing wrong here I'd really appreciate it.


Current Attempt:


;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment

Scriptname Fragments:Terminals:TERM_000WZWWDebugHolotapeTer_0101C454 Extends Terminal Hidden Const


;BEGIN FRAGMENT Fragment_Terminal_01

Function Fragment_Terminal_01(ObjectReference akTerminalRef)

;BEGIN CODE

game.getplayer().moveto(wzwwteleportref)

;END CODE

EndFunction

;END FRAGMENT


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







Also I've tried this:



Scriptname WZWWDebugTeleport:WZWWDebugTeleport extends ObjectReference Const

{ObjectReference Property teleportLocation Auto Const


Event OnActivate(ObjectReference akActionRef)

ObjectReference akActionRef = teleportLocation

game.getplayer().moveto(wzwwteleportref)

EndEvent}


ObjectReference Property teleportlocation Auto Const


Link to comment
Share on other sites

@watcherzero

howdy!

you may find this thread

https://forums.nexusmods.com/index.php?/topic/4131715-relay-location-list/

with JetSteele incredibly helpful.

 

 

 

now, if you're attempting to "hijack a teleport"

or, teleport to a memory lounger simulation from the basic world...

those are very specific and tricky situations to resolve hehe.

 

It's also counter-intuitive;

going to sleep at Spectacle Island, and waking up on the holodeck at Goodneighbor...

or the "Putting Challenge simulation" at Goodneighbor...

 

I hope you'll find it fun though,

as when you combine it with holograms and such,

any door to any where, new lands etc.

you can achieve some very cool effects.

this is also partly how we resolved landing a vertibird at a mobile "elevator-based settlement",

a settlement in whole or part which can move...

such as a scrap-scraper settlement or Vault 66.6 project.

 

you'll also need to consider this thread too;

https://forums.nexusmods.com/index.php?/topic/5522717-fallout-4-optimization-and-performance-systems-explained/

as, teleporting within a teleport and hijacking that...

can lead to some weird stuff that mimics some of the stuff covered in this thread.

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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