From b4435701a2142f43348156535d6c8c314e99899e Mon Sep 17 00:00:00 2001 From: Emistry Haoyan Date: Wed, 1 May 2019 21:42:14 +0800 Subject: Added *mesclear script command. - `*mesclear()` script command will clear the NPC dialog text and continue the script without player interaction. example: `next();`. --- doc/script_commands.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index f767f890d..c454509ee 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -1293,6 +1293,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 -- cgit v1.2.3-60-g2f50