IsFavoritesEnabled - InputEnableLayer

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: InputEnableLayer Script

Checks to see whether or not fast travel is allowed by this layer.

Syntax[edit | edit source]

bool Function IsFavoritesEnabled() Native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

True if the Favorites menu is currently allowed by this layer.

Examples[edit | edit source]

; Is this layer allowing fast travel?
if myLayer.IsFavoritesEnabled()
  Debug.Trace("This layer has not disabled favorites!")
endIf

See Also[edit | edit source]