summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-10-15 22:40:00 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-10-15 22:40:00 +0000
commit1fabc2250529b3ed092c2635c09023d8dd6f74e9 (patch)
treed0d7fdb007d5d226854b96cc0a057acae2ab963b /doc
parentf58856d5ab5a79e09e4aad906cecd7aa931a2224 (diff)
downloadhercules-1fabc2250529b3ed092c2635c09023d8dd6f74e9.tar.gz
hercules-1fabc2250529b3ed092c2635c09023d8dd6f74e9.tar.bz2
hercules-1fabc2250529b3ed092c2635c09023d8dd6f74e9.tar.xz
hercules-1fabc2250529b3ed092c2635c09023d8dd6f74e9.zip
- Fixed .@GID not being set in Gld_Trea_Spawn, since r13559. (bugreport:5067)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14974 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r--doc/script_commands.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 1afff5377..6f19db54e 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2208,8 +2208,9 @@ This is equivalent to using:
The reason for this is, that this short form is internally converted into a call
to getelementofarray, when the script is loaded.
-Also useful when passing arrays to functions.
-getelementofarray(getarg(0),<index>) will work, but getarg(0)[<index>] will not.
+Also useful when passing arrays to functions or accessing another npc's arrays:
+ getelementofarray(getarg(0),<index>)
+ getelementofarray(getvariableofnpc(.var, "testNPC"),<index>)
---------------------------------------