Difference between revisions of "MenuData Struct - UI"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(added flags)
imported>Qazaaq
(added details)
Line 22: Line 22:
**<code>0x04</code> ShowCursor:  
**<code>0x04</code> ShowCursor:  
**<code>0x08</code> EnableMenuControl:  
**<code>0x08</code> EnableMenuControl:  
**<code>0x800</code> DoNotPreventGameSave:  
**<code>0x800</code> DoNotPreventGameSave: Allows the game to be saved. Without this flag the save button is greyed out.
*MovieFlags:  
*MovieFlags:  
**'''Default Flags:''' 3
**'''Default Flags:''' 3

Revision as of 11:12, 15 May 2018

This article has been flagged as incomplete.
Please help improve the wiki by learning how to contribute.

Member of: UI Script
Requires F4SE version 0.6.5 or higher.

A structure that holds information about a menu.

Syntax

Struct MenuData
    int MenuFlags = 0x801849D
    int MovieFlags = 3
    int ExtendedFlags = 3
    int Depth = 6
EndStruct

Members

  • MenuFlags:
    • Default Flags: 0x801849D
    • 0x01 PauseGame:
    • 0x02 DoNotDeleteOnClose:
    • 0x04 ShowCursor:
    • 0x08 EnableMenuControl:
    • 0x800 DoNotPreventGameSave: Allows the game to be saved. Without this flag the save button is greyed out.
  • MovieFlags:
    • Default Flags: 3
  • ExtendedFlags: These bit flags are implemented by F4SE.
    • Default Flags: 3
    • 1 InheritColors: Enables color scheme matching.
    • 2 CheckForGamepad: Auto-detects any connected gamepad and disables the mouse cursor.
  • Depth:
    • Default: 6

Examples

; Placeholder Code.

See Also