Jump to content

Need the help of a scripter to complete a mod - 95% done


omniquad

Recommended Posts

Hi

 

Need help with scripting. Tried a few tutorials but not getting far. My mod requires a terminal with sub-menus pointing to different OWNED settlements. On selecting a settlement the player must be teleported to the travel marker in that settlement. Pretty sure I have the Papyrus Fragment right:

 

Game.GetPlayer().MoveTo(SanctuaryTravelMarker)

 

I have the property set up as an ObjectReference pointing to the SanctuaryExt cell and referencing SanctuaryTravelMarker. I have no idea if this part is correct, but when compiling i get the following report:

 

Papyrus Compiler Version 2.8.0.4 for Fallout 4
Copyright © ZeniMax Media. All rights reserved.
Starting 1 compile threads for 1 files...
Compiling "Fragments:Terminals:TERM_THBCollectorBaseTermina_04001296"...
C:\Users\tjaar\AppData\Local\Temp\PapyrusTemp\Fragments\Terminals\TERM_THBCollectorBaseTermina_04001296.psc(7,24): variable SanctuaryLocationCenterMarker is undefined
No output generated for Fragments:Terminals:TERM_THBCollectorBaseTermina_04001296, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on Fragments:Terminals:TERM_THBCollectorBaseTermina_04001296

 

Now, I'm not a scripter. I have no clue how to define the variable or even if the property is wrong and I'm heading in completely the wrong way. I'm basically trying to infer how it should be done by watching YouTube tutorials that more often than not do "almost the same, but not quite" what I need it to do.

 

 

I also need help with a script that can be attached to a static object that will move (teleport) the player and companion (if present) to specific cell (the load door marker in the cell) on activation (specifically a one-off craftable trapdoor that I have already created and loaded into the game through the workshop).

 

Please help! I am happy to give credit to anyone willing to assist with these two issues.

Link to comment
Share on other sites

Hi Crosstieger

 

Thanks for the response. Turns out that the special feature I wanted to add to my mod already exists as a standalone mod on the Nexus. This actually makes my mod more adaptable to different play styles.

 

Posting the entire papyrus code would be helpful. Clicking on the "Advanced" tap on the papyrus section of your terminal allows you to look at the entire source code and not just the little snippet.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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