LuaGUI.wiki
changeset 2127 96cf7b3e0636
parent 2090 0ff41a46db49
equal deleted inserted replaced
2126:3b3377019217 2127:96cf7b3e0636
    79 Example:
    79 Example:
    80 <code language="lua">
    80 <code language="lua">
    81 ShowMission(loc("Nobody Laugh"), loc("User Challenge"), loc("Eliminate the enemy before the time runs out"), 0, 0)
    81 ShowMission(loc("Nobody Laugh"), loc("User Challenge"), loc("Eliminate the enemy before the time runs out"), 0, 0)
    82 </code>
    82 </code>
    83 
    83 
    84 (Note: `loc` comes from the [LuaLibraryLocale Locale Lua library.)
    84 (Note: `loc` comes from the [LuaLibraryLocale Locale Lua library].)
    85 
    85 
    86 == <tt>!HideMission()</tt> ==
    86 == <tt>!HideMission()</tt> ==
    87 Hides the mission panel if it is currently displayed, otherwise, this function does nothing.
    87 Hides the mission panel if it is currently displayed, otherwise, this function does nothing.
    88 
    88 
    89 == <tt>!SetZoom(zoomLevel)</tt> ==
    89 == <tt>!SetZoom(zoomLevel)</tt> ==