MmLoadMenu

From the Oblivion ConstructionSet Wiki
Revision as of 21:03, 29 November 2008 by imported>Speedo (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


A command for MenuMate.

(Success:bool) mmLoadMenu filename:string

Loads and displays a menu from XML. Returns 1 if the menu was successfully loaded.

Notes

  • All files must be under the path "..\My Documents\My Games\Oblivion\MenuMate\", however you my specify additional sub directories.
  • Because only one meny may be shown at a time, MenuMate displays menus via a "first-in first-out" queue. There is no guarantee that your menu will be displayed as soon as this function is called. If, for example, there are three menus in the queue when you call this function, your menu will no display until the three menus have completed. Generally, this should only be an issue for menus that display at the very beginning of a new game.