OnMenuClose - Form
From Creation Kit
SKSE Member of: Form Script
Minimum required SKSE Version: 1.06.00
Event OnMenuClose(String MenuName)
- MenuName: The menu(s) listened for.
Event OnInit() RegisterForMenu("ContainerMenu") EndEvent Event OnMenuClose(String MenuName) Debug.Trace("A registered menu has closed.") If MenuName == "ContainerMenu" Debug.Trace("ContainerMenu has been registered and has closed.") EndIf EndEvent
- If multiple menus are registered, you'll want to differentiate in the corresponding event body as shown in the example. If only one menu is to be registered, no such differentiation is necessary.