Morrowind Mod:MenuTest

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


MenuTest

                MenuTest, short_enum

        Type:   Console/script, Undocumented

     Returns:   none

     Example:   if ( OnPCEquip == 1 )
                  set OnPCEquip to 0
                  coc Balmora
                  MenuTest
                endif
     Scripts:   

When called, MenuTest closes certain types of inventory menus, including Player, NPC and containers. It doesn't work for dialogue, enchanting, alchemy, spell or armorer menus. It works from the console as well as from a script. It also takes parameters:

  menutest or menutest 0: for closing menu 
  menutest 3: open stats menu or focus on it 
  menutest 4: open inventory menu or focus on it 
  menutest 5: open spell menu or focus on it 
  menutest 6: open map menu or focus on it 
  menutest 9: logs the unique identifier and text labels of every piece of the user interface[1]

for menutest 3,4,5,6, it's like clicking on the upper right button of the menu.

  1. ^ While this is designed to log the unique identifier and text labels of every piece of the user interface, it only works in debug builds. The debug logging function is empty in the retail version, so nothing actually happens. There is a long pause because it waits 1ms between each item. See Hrnchamd's post describing this feature.