EnableFastTravel

From GECK
(Redirected from EnableFast)
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Enable or disable fast travel manually: 1 = allowed, 0 = disabled until reenabled by this function.

Syntax

[help]
EnableFastTravel canFastTravel{0,1} canWait{0,1} keepOnCellChange{0,1}

Example

EnableFastTravel 1 0 1

The player can fast travel, and this setting is retained when transitioning between cells. However, they are still set to be able to wait, since the code always sets canWait to 1 if canFastTravel == 1.

EnableFastTravel 0 0 0

The player cannot fast travel, cannot wait, and they'll be able to fast travel once they transition between cells. However, the transition won't allow them to wait; this will have to be manually re-enabled.

EnableFastTravel 0 0 1

The player cannot fast travel, cannot wait, and they won't be able to fast-travel once they transition between cells.

EnableFastTravel 0 0 1
EnableFastTravel 0 0 0

Doing these two commands in this order will result in the player being unable to fast-travel and unable to wait, and this will persist even if the player changes cells. Effectively, the second function call is ignored.

Notes

  • Entering an interior Cell and then exiting to an exterior will reset Fast Travel to the enabled state, if keepOnCellChange was not set to 1.
  • Doing `EnableFastTravel 1` will only allow the player to fast travel if they could normally fast travel. For example, if they are over-encumbered, or are inside an interior cell, they will still be not permitted to fast travel.

See Also