OnPlayerFastTravelEnd - Actor

From the CreationKit Wiki
Revision as of 15:54, 3 October 2017 by imported>Jlundin (Created page with "Category:Scripting Category:Papyrus Category:Events '''Member of:''' Actor Script ''(Requires SSE 1.5.3)'' Event sent to the player when the player has finish...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script (Requires SSE 1.5.3)

Event sent to the player when the player has finished fast traveling. If this event is handled in a script that's not on the player, the event will never be hit.

Syntax[edit | edit source]

Event OnPlayerFastTravelEnd(float afTravelGameTimeHours)

Parameters[edit | edit source]

  • afTravelGameTimeHours: How long the player was traveling, in in-game hours

Examples[edit | edit source]

Event OnPlayerFastTravelEnd(float afTravelGameTimeHours)
  if (afTravelGameTimeHours > 24.0)
    Debug.Trace("Player traveled for an entire day...")
  endIf
endEvent

See Also[edit | edit source]