Difference between revisions of "MenuData Struct - UI"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(added details)
imported>Qazaaq
(added details)
Line 18: Line 18:
*MenuFlags:  
*MenuFlags:  
**'''Default Flags:''' 0x801849D
**'''Default Flags:''' 0x801849D
**<code>0x01</code> PauseGame:  
**<code>0x01</code> PauseGame: Pauses the game world.
**<code>0x02</code> DoNotDeleteOnClose:  
**<code>0x02</code> DoNotDeleteOnClose:  
**<code>0x04</code> ShowCursor:  
**<code>0x04</code> ShowCursor: Shows the mouse cursor.
**<code>0x08</code> EnableMenuControl:  
**<code>0x08</code> EnableMenuControl:  
**<code>0x800</code> DoNotPreventGameSave: Allows the game to be saved. Without this flag the save button is greyed out.
**<code>0x800</code> DoNotPreventGameSave: Allows the game to be saved. Without this flag the save button is greyed out.

Revision as of 10:14, 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: Pauses the game world.
    • 0x02 DoNotDeleteOnClose:
    • 0x04 ShowCursor: Shows the mouse cursor.
    • 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