Jump to content

Get the reference that is connected to another reference via power lines


Recommended Posts

So, I want to make a mod that adds teleporters, and plan to handle detecting what teleporter to move the player to by finding what teleporter is linked via power lines. However, I'm not sure if Fallout 4 can actually do this. How would I go about doing this?

Link to comment
Share on other sites

Probably the best way would be to use

 

Function OnPowerOn(ObjectReference akPowerGenerator)
    ; Empty function
EndFunction
in your ObjectReference script. Though you would likely need a quest to store variables as well as check if your teleporters have the same Power Generator.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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