summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-06-01 16:06:44 +0200
committerGitHub <noreply@github.com>2019-06-01 16:06:44 +0200
commit7a9ed7c9c9f2d68fdad64a2c1de1ee9afaeeb087 (patch)
tree25b932c556a0809fcb959cd8065330f46d4d18b9 /doc
parent259a790cb0a6fa17a346fc30ca61ce6f1a085d3e (diff)
parentb4435701a2142f43348156535d6c8c314e99899e (diff)
downloadhercules-7a9ed7c9c9f2d68fdad64a2c1de1ee9afaeeb087.tar.gz
hercules-7a9ed7c9c9f2d68fdad64a2c1de1ee9afaeeb087.tar.bz2
hercules-7a9ed7c9c9f2d68fdad64a2c1de1ee9afaeeb087.tar.xz
hercules-7a9ed7c9c9f2d68fdad64a2c1de1ee9afaeeb087.zip
Merge pull request #2471 from Emistry/scriptcommand_mesclear
Add *mesclear script command.
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index bcd2297b9..3bf0c7427 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -1301,6 +1301,21 @@ and the script will terminate.
---------------------------------------
+*mesclear();
+
+This command will clear the dialog text and continue the script without player interaction.
+
+Example:
+ mes("This is how the 'mesclear' script command works.");
+ sleep2 3000;
+ mesclear(); // This will clear the dialog and continue to the next one.
+ mes("I will show you again.");
+ sleep2 3000;
+ mesclear(); // This will clear the dialog and continue to the next one.
+ mes("Bye!");
+
+---------------------------------------
+
*close()
This command will create a 'close' button in the message window for the