Jump to content

Teleport versus fast travel


Recommended Posts

In Fallout4 there is the OnPlayerTeleport() event, this doesn't just fire on fast travel but also on coc (don't care) and load doors in and out of interior cells, the latter I do care about as I would like to receive an event just from fast travelling using the map and this event is the nearest I can find but is not specific enough.

Any suggestions to achieve what I want?

 

diziet

Link to comment
Share on other sites

You can register the script for OnPlayerTeleport and OnMenuOpenCloseEvent, start a short timer in OnMenuOpenCloseEvent when the PipBoyMenu closes. If OnPlayerTeleport is received before the timer expires it's probably a Fast Travel event.

Link to comment
Share on other sites

(3) With fast travel fee enabled, if the player uses an internal/external load door within 1 second of closing the PipBoy that will be detected as fast travel and charged. Slow down.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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