summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-30 15:42:39 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-30 15:42:39 +0000
commit80907412c396e576da0a7fbdc3c6babbb2c16c02 (patch)
tree8f3fed401f62ad28c03a741735d7562098893eba /doc/script_commands.txt
parent11cd2c81ac4b0adab851902d9a0adb7b6c596a96 (diff)
downloadhercules-80907412c396e576da0a7fbdc3c6babbb2c16c02.tar.gz
hercules-80907412c396e576da0a7fbdc3c6babbb2c16c02.tar.bz2
hercules-80907412c396e576da0a7fbdc3c6babbb2c16c02.tar.xz
hercules-80907412c396e576da0a7fbdc3c6babbb2c16c02.zip
* Resolved missing script documentation (bugreport:4578).
- Added documentation for bonus bAutoSpellOnSkill (follow up to r13596). - Added documentation for script command progressbar (follow up to r14024). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14527 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 41c948bb1..b2594ddd2 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -137,6 +137,12 @@
//= Added info on strcharinfo(3) [Skotlex]
//= 3.29.20101123
//= Added 'pushpc' command. [Ai4rei]
+//= 3.30.20101126
+//= Added 'setfont', 'mercenary_create', 'mercenary_heal', 'mercenary_sc_start',
+//= 'mercenary_create', 'mercenary_get_calls', 'mercenary_set_calls',
+//= 'mercenary_get_faith' and 'mercenary_set_faith' commands. [Ai4rei]
+//= 3.31.20101130
+//= Added 'progressbar' command. [Ai4rei]
//=========================================================
This document is a reference manual for all the scripting commands and functions
@@ -5446,6 +5452,17 @@ Examples:
awake "NPC"; //Cancels any running sleep timers on the NPC 'NPC'.
---------------------------------------
+
+*progressbar "<color>",<seconds>;
+
+This command works almost like sleep2, but displays a progress bar
+above the head of the currently attached character (like cast bar).
+Once the given amount of seconds passes, the script resumes. If the
+character moves while the progress bar progresses, it is aborted and
+the script ends. The color format is in RGB (0xRRGGBB). The color is
+currently ignored by the client and appears always green.
+
+---------------------------------------
//
5,1.- End of time-related commands
//