IsFavoritesEnabled - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

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

Syntax

bool Function IsFavoritesEnabled() Native

Parameters

None

Return Value

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

Examples

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

See Also