-
Notifications
You must be signed in to change notification settings - Fork 13
Lua:UI
Adds a parameter to ask from the user. You need to call AskForParameters() for this to do anything. The default value is optional.
Pops up a dialog box and asks the user for input based on the parameters you added with AddParameter(). If the user cancels at this window, it will terminate your script and undo all changes. The parameters are cleared afterward, so if you want to reask for the same parameters you should either add new ones, or use AskForParametersNoClear() instead.
useful if you want to repeatedly ask for the same parameters.
clears/deletes any parameters added through AddParameter()
after your script is done, if LogLine() was called, all the lines are shown in a popup message box.
like LogLine(), but only pops up in the case of a warning or an error.