summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-19 04:42:19 +0200
committerHaru <haru@dotalux.com>2014-10-24 00:59:20 +0200
commit98274e4ab8d5f8cb6381a4a625441c90020dffff (patch)
treeb9c3a1ccc70d0f19cee32542800fc1419a4908e2 /doc/script_commands.txt
parentdb1abaf5ef67bffb882b4b6b19c03343117a2b21 (diff)
downloadhercules-98274e4ab8d5f8cb6381a4a625441c90020dffff.tar.gz
hercules-98274e4ab8d5f8cb6381a4a625441c90020dffff.tar.bz2
hercules-98274e4ab8d5f8cb6381a4a625441c90020dffff.tar.xz
hercules-98274e4ab8d5f8cb6381a4a625441c90020dffff.zip
Restored ability to differentiate between active and inactive quests
- Added the questactive script command. - While this information may not be needed by official scripts, it was offered by the now deprecated checkquest, and as such it is made available again. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 26ecbdd42..b3f0b0e5c 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -8411,6 +8411,15 @@ If parameter 'HUNTING' is supplied:
---------------------------------------
+*questactive(<ID>)
+
+Check whether the given quest is in its active state.
+
+Returns true if the quest is active, false otherwise (quest not started,
+inactive or completed)
+
+---------------------------------------
+
*showevent <icon>{,<mark color>}
Show an emotion on top of a NPC, and optionally,