diff options
author | Emistry Haoyan <equinox1991@gmail.com> | 2019-05-01 21:42:14 +0800 |
---|---|---|
committer | Emistry Haoyan <equinox1991@gmail.com> | 2019-05-14 23:28:23 +0800 |
commit | b4435701a2142f43348156535d6c8c314e99899e (patch) | |
tree | fe040b5c35aa5afa2a2a29ec730e5bdb73c008a2 /doc | |
parent | f272422f2dbd015691ecba06a14a18d48e7362da (diff) | |
download | hercules-b4435701a2142f43348156535d6c8c314e99899e.tar.gz hercules-b4435701a2142f43348156535d6c8c314e99899e.tar.bz2 hercules-b4435701a2142f43348156535d6c8c314e99899e.tar.xz hercules-b4435701a2142f43348156535d6c8c314e99899e.zip |
Added *mesclear script command.
- `*mesclear()` script command will clear the NPC dialog text and continue
the script without player interaction. example: `next();`.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/script_commands.txt | 15 |
1 files changed, 15 insertions, 0 deletions
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 |