summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-02-09 20:54:52 +0100
committerHaru <haru@dotalux.com>2020-02-09 20:55:29 +0100
commit14655f4367656866b09b331359978c0af17916bd (patch)
treec1f84ad22b6febc78ba20f1d4fc4498f002aa614 /doc/script_commands.txt
parentadd6b9a63caa759779608f8322c14ac3a54f37b3 (diff)
parenta96a7e8ffce47d4777916d8b0a077070955f8a2f (diff)
downloadhercules-14655f4367656866b09b331359978c0af17916bd.tar.gz
hercules-14655f4367656866b09b331359978c0af17916bd.tar.bz2
hercules-14655f4367656866b09b331359978c0af17916bd.tar.xz
hercules-14655f4367656866b09b331359978c0af17916bd.zip
Merge pull request #2615 from Asheraf/cloaknpc
Add exploration achievements Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 244de4c0c..6a97bae1d 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -7041,6 +7041,18 @@ NPCs talking while hidden then revealing... you can wonder around =P).
---------------------------------------
+*cloakonnpc("<NPC object name>"{, <account_id>})
+*cloakoffnpc("<NPC object name>"{, <account_id>})
+
+These commands are used to apply the cloaking effect on npcs
+this is a visual effect only and it does NOT stop the player
+from interacting with the npc.
+
+If an account_id is specified then the effect will only display to the given id,
+otherwise it's displayed to the entire npc area.
+
+---------------------------------------
+
*doevent("<NPC object name>::<event label>")
This command will start a new execution thread in a specified NPC object
@@ -10622,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