From 2d20b3feef8a0985b84108736d53f6ebc512d5dd Mon Sep 17 00:00:00 2001 From: brianluau Date: Tue, 15 Jun 2010 16:34:44 +0000 Subject: - Fixed some item script typos from r14332. (bugreport:4312) - Removed an extra tab from r14342. (bugreport:4314) - Clarified documentation about 'getinventorylist' (bugreport:4279) and fixed a small typo. (bugreport:4300) - Fixed occurances of PcName in quests_13_1, quests_ein, and The_Sign_Quest. (bugreport:4302). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14343 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index fe6f1663d..d8d9f51e7 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2531,7 +2531,12 @@ correctly handle an NPC trader for carded and named items who could resell them - since NPC objects cannot own items, so they have to store item data in variables and recreate the items. -Notice that the variables this command generates are all local and numeric. +Notice that the variables this command generates are all temporary, attached to +the character, and integer. + +Be sure to use @inventorylist_count to go through these arrays, and not +'getarraysize', because the arrays are not automatically cleared between runs +of 'getinventorylist'. --------------------------------------- @@ -4977,7 +4982,7 @@ invoking character. Timeout is the time in milliseconds the summon lives, and is set default to 60000 (1 minute). Note that also the value 0 will set the timer to default, -and it is not possible to create a spawn that lastst forever. +and it is not possible to create a spawn that lasts forever. If an event label is given, upon the monster being killed, the event label will run as if by 'donpcevent'. -- cgit v1.2.3-60-g2f50