GetPCCanFastTravel

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin version 1.15.

Description

Returns true (1) if the player can fast travel from their current location, false (0) otherwise.

This runs the same check that the game does when determining if the player can fast travel at all when they click on a Fast-Travel marker in the Pip-Boy.

This function can be used either in a script, or as a Condition.

Syntax

[help]
(canTravel:bool) GetPCCanFastTravel

Example

if GetPCCanFastTravel
  ;do stuff
endif 

See Also