# HG changeset patch # User Wuzzy # Date 1444677079 0 # Node ID 0830fdc658b85053acd4d1fe7213a3df4065c12c # Parent 42b3e6a6ea8aee45af27cac190f90f7a44b8c293 ShowMission: time=0 diff -r 42b3e6a6ea8a -r 0830fdc658b8 LuaAPI.wiki --- a/LuaAPI.wiki Mon Oct 12 19:08:33 2015 +0000 +++ b/LuaAPI.wiki Mon Oct 12 19:11:19 2015 +0000 @@ -1050,7 +1050,7 @@ === !ShowMission(caption, subcaption, text, icon, time) === -Use to tell the player what he is supposed to do. If you use this function, a mission pop-up is shown for the amount of time specified in `time` (in milliseconds). +Use to tell the player what he is supposed to do. If you use this function, a mission pop-up is shown for the amount of time specified in `time` (in milliseconds). If `time` is set to 0, it will be displayed for a default amount of time. This function replaces the *entire* text of the pop-up. Compare this to the global `Goals` variable, which *adds* to the default text without replacing it. `caption` is the text displayed in the first line, `subcaption` is displayed in the second line and `text` is the text displayed in the third and following lines.