MmGetStatus
Revision as of 21:07, 29 November 2008 by imported>Speedo (created)
Beta Function
This function has not been fully tested yet, and is not ready to be used in a released mod. It may not have the same function in later versions, may require the script to be recompiled, or simply may be removed. Use for testing purposes only until the author of the function says otherwise.
A command for MenuMate.
(status:int) mmGetStatus
Returns the current status of a menu. Must be called from the same script which called mmLoadMenu.
Status codes:
Code Meaning -2 Menu queued, waiting to be displayed -1 Menu is currently being displayed 0 No menu loaded for this script, or menu closed with an error 1 Menu completed successfully