×
Меню
Индекс

MSFD Using MenuTest to open and close menus

 
Undocumented:
[no fix] MenuTest, short_enum
 
MenuTest doesn’t return anything, however, when it is called, it closes certain types of inventory menus, including Player, NPC and containers. It doesn’t work for dialogue, enchanting, alchemy, spell or armorer menus. (Forum Info / JOG, Jilin).
 
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
 
for menutest 3,4,5,6, it's like clicking on the upper right button of the menu
 
Example Script:
 
if ( OnPCEquip == 1 )
   set OnPCEquip to 0
   coc Balmora
   MenuTest
endif