summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-07 21:04:28 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-07 21:04:28 +0000
commit1792fa7dcbae6d0678d9672ccb38eba88e87c757 (patch)
tree24189c639a4ac9a340a3c0dfd9060630e779b157 /doc/script_commands.txt
parent44f46558e22a2b6c7287a233767bbcb713e25f55 (diff)
downloadhercules-1792fa7dcbae6d0678d9672ccb38eba88e87c757.tar.gz
hercules-1792fa7dcbae6d0678d9672ccb38eba88e87c757.tar.bz2
hercules-1792fa7dcbae6d0678d9672ccb38eba88e87c757.tar.xz
hercules-1792fa7dcbae6d0678d9672ccb38eba88e87c757.zip
* Made script command 'flagemblem' and guild_emblem_change send an update of the emblem_id to the players in the area.
- known bug: ui components that are displaying the emblem at the time (emblem in flag npc and emblem over head in gvg maps) are not updated, but putting the mouse over the target shows the new emblem * Modified script command 'guardian': - returns the id of the guardian - if guardian index isn't supplied, it generates a temporary guardian * Implemented support for temporary guardians (not saved with castle). * Added missing includes from r12520. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12525 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 611e38bbc..6f428b36e 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -4,7 +4,7 @@
//= A reference manual for the eAthena scripting language.
//= Commands are sorted depending on their functionality.
//===== Version ===========================================
-//= 3.18.20080327
+//= 3.19.20080407
//=========================================================
//= 1.0 - First release, filled will as much info as I could
//= remember or figure out, most likely there are errors,
@@ -108,6 +108,8 @@
//= Corrected cashshop description. (#FREEPOINTS->#KAFRAPOINTS) [L0ne_W0lf]
//= 3.18.20080327
//= Added documentation for the 'checkcell' command [ultramage]
+//= 3.19.20080407
+//= Extended the behaviour of 'guardian'. [FlavioJS]
//=========================================================
This document is a reference manual for all the scripting commands and functions
@@ -5514,13 +5516,18 @@ returns a guild id:
---------------------------------------
-*guardian "<map name>",<x>,<y>,"<name to show>",<mob id>,<amount>{,"<event label>"}{,<guardian index>};
+*guardian("<map name>",<x>,<y>,"<name to show>",<mob id>,<amount>{,"<event label>"}{,<guardian index>})
This command is roughly equivalent to 'monster', but is meant to be used with
castle guardian monsters and will only work with them. It will set the guardian
characteristics up according to the castle's investment values and otherwise
set the things up that only castle guardians need.
+Since trunk r12524:
+Returns the id of the mob or 0 if an error occurred.
+When 'guardian index' isn't supplied it produces a temporary guardian.
+Temporary guardians are not saved with the castle and can't be accessed by guardianinfo.
+
---------------------------------------
*guardianinfo("<map name>", <guardian number>, <type>)