summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2020-01-15 16:28:45 +0100
committerHaru <haru@dotalux.com>2020-02-09 20:52:57 +0100
commit8695b790286586ae5e664bd1ef51fcb9debcc7c1 (patch)
tree8e385fad6dca0da543dc3e3607072d4d92d7dd87 /doc/script_commands.txt
parent89408e2401a3019c8cb1de0dab9f7e754c4dbfb4 (diff)
downloadhercules-8695b790286586ae5e664bd1ef51fcb9debcc7c1.tar.gz
hercules-8695b790286586ae5e664bd1ef51fcb9debcc7c1.tar.bz2
hercules-8695b790286586ae5e664bd1ef51fcb9debcc7c1.tar.xz
hercules-8695b790286586ae5e664bd1ef51fcb9debcc7c1.zip
Add script command achievement_iscompleted to check for achievement status
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index b8f856877..6a97bae1d 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -10634,6 +10634,14 @@ returns progress on success and false on failure
---------------------------------------
+*achievement_iscompleted(<ach_id>{, <account_id>})
+
+Checks whether the attached player have completed all the given achievement objectives.
+
+returns true if yes and false if no.
+
+---------------------------------------
+
*itempreview(<index>)
Update already opened preview window with item from