EnableFavorites - InputEnableLayer

From the Fallout4 CreationKit Wiki
Revision as of 21:51, 11 February 2018 by imported>Qazaaq (added category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: InputEnableLayer Script

Enables or disables the player's ability to open the Favorites menu on this layer.

Syntax[edit | edit source]

Function EnableFavorites(bool abEnable = true) Native

Parameters[edit | edit source]

  • abEnable: If true, enables favorites. Otherwise disables it.
    • Default: True

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Enable favorites
myLayer.EnableFavorites()


; Disable favorites
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableFavorites(false)

See Also[edit | edit source]