From ddfefa739951234c13144c58fe959faf917fa5cc Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 30 May 2009 19:23:53 +0000 Subject: Added documentation for several eAthena extensions. Moved OnPCKillEvent magic label to OnPCKilledEvent, added complementary OnPCKillEvent that is the same, except invoked on a killer RID context. --- doc/script_ref.txt | 1554 +++++++++++++++++++++++++++------------------------- 1 file changed, 795 insertions(+), 759 deletions(-) (limited to 'doc/script_ref.txt') diff --git a/doc/script_ref.txt b/doc/script_ref.txt index 06df8f4..992a1e2 100644 --- a/doc/script_ref.txt +++ b/doc/script_ref.txt @@ -36,13 +36,13 @@ AthenaNPCScript dy It is the vertical effect range of a warp point. Probably I do not write a circle but think that it is a region. Example of dx and dy (- is x and y) : 0,0 1,0 2,2 - *@*– *–*–*–*–*– *–*–*–*–*–*–*– - *–*œ*– *–*–*œ*–*– *–*–*–*–*–*–*– - *@*– *–*–*–*–*– *–*–*–*–*–*–*– - *@ *–*–*–*œ*–*–*– - *@ *–*–*–*–*–*–*– - *@ *–*–*–*–*–*–*– - *@ *–*–*–*–*–*–*– + *@*– *–*–*–*–*– *–*–*–*–*–*–*– + *–*Âœ*– *–*–*Âœ*–*– *–*–*–*–*–*–*– + *@*– *–*–*–*–*– *–*–*–*–*–*–*– + *@ *–*–*–*Âœ*–*–*– + *@ *–*–*–*–*–*–*– + *@ *–*–*–*–*–*–*– + *@ *–*–*–*–*–*–*– *@ * I hear that and it will leap if the cell of - is stepped on. *@ @@ -64,9 +64,9 @@ AthenaNPCScript ys The appearing vertical range is specified. Example of xs and ys (- is x and y) : 0,0 2,1 - *@*œ *–*–*–*–*– - *@ *–*–*œ*–*– - *@ *–*–*–*–*– + *@*Âœ *–*–*–*–*– + *@ *–*–*Âœ*–*– + *@ *–*–*–*–*– *@ * And a monster appears from the cell of -. @@ -125,1163 +125,1199 @@ AthenaNPCScript Let's write by the said touch. Comment out is //and comment area is /* and */. The ? which does not leave; (semicolon) in the script ending. - u,,,v‚Ì•”•ª‚ðAu-v‚Æ‚·‚邱‚Æ‚ÅA - ƒ}ƒbƒvƒT[ƒo[“à‚É‚Í‘¶Ý‚µ‚Ä‚¢‚Ä‚àAŽÀۂ̃}ƒbƒv‚É‚Í”z’u‚³‚ê‚È‚¢NPC‚ð쬂ł«‚Ü‚·B - ‚±‚ê‚ÍŒãq‚̃fƒ…ƒvƒŠƒP[ƒgƒXƒNƒŠƒvƒg‚ŃRƒs[Œ³‚Æ‚µ‚ÄŽg—p‚µ‚Ü‚·B + 「,,,ã€ã®éƒ¨åˆ†ã‚’ã€ã€Œ-ã€ã¨ã™ã‚‹ã“ã¨ã§ã€ + マップサーãƒãƒ¼å†…ã«ã¯å­˜åœ¨ã—ã¦ã„ã¦ã‚‚ã€å®Ÿéš›ã®ãƒžãƒƒãƒ—ã«ã¯é…ç½®ã•ã‚Œãªã„NPCを作æˆã§ãã¾ã™ã€‚ + ã“ã‚Œã¯å¾Œè¿°ã®ãƒ‡ãƒ¥ãƒ—リケートスクリプトã§ã‚³ãƒ”ー元ã¨ã—ã¦ä½¿ç”¨ã—ã¾ã™ã€‚ - –ƒfƒ…ƒvƒŠƒP[ƒgƒXƒNƒŠƒvƒgFŠù‘¶‚ÌNPCi‚̃XƒNƒŠƒvƒgj‚ðƒRƒs[‚µ‚Ü‚·B + *デュプリケートスクリプト:既存ã®NPC(ã®ã‚¹ã‚¯ãƒªãƒ—ト)をコピーã—ã¾ã™ã€‚ ,,,duplicate(), - sourceˆÈŠO‚̃pƒ‰ƒ[ƒ^‚Í’Êí‚̃XƒNƒŠƒvƒg‚Æ“¯‚¶‚Å‚·B - source‚ɂ̓Rƒs[Œ³‚Æ‚È‚éNPC‚ÌŽ¯•Ê–¼‚ð“ü—Í‚µ‚Ü‚·B + source以外ã®ãƒ‘ラメータã¯é€šå¸¸ã®ã‚¹ã‚¯ãƒªãƒ—トã¨åŒã˜ã§ã™ã€‚ + sourceã«ã¯ã‚³ãƒ”ー元ã¨ãªã‚‹NPCã®è­˜åˆ¥åを入力ã—ã¾ã™ã€‚ - ƒRƒs[Œ³‚ÌNPC‚ªƒ}ƒbƒvã‚É”z’u‚³‚ê‚Ä‚¢‚éê‡A“¯‚¶ƒ}ƒbƒv‚Å‚ ‚é•K—v‚ª‚ ‚è‚Ü‚·B - ƒ}ƒbƒvã‚É”z’u‚³‚ê‚Ä‚¢‚È‚¢ê‡‚ÍA‚ǂ̃}ƒbƒv‚Ö‚àƒRƒs[‰Â”\‚Å‚·B + コピー元ã®NPCãŒãƒžãƒƒãƒ—上ã«é…ç½®ã•ã‚Œã¦ã„ã‚‹å ´åˆã€åŒã˜ãƒžãƒƒãƒ—ã§ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚ + マップ上ã«é…ç½®ã•ã‚Œã¦ã„ãªã„å ´åˆã¯ã€ã©ã®ãƒžãƒƒãƒ—ã¸ã‚‚コピーå¯èƒ½ã§ã™ã€‚ - –ƒ†[ƒU[’è‹`ŠÖ”ƒXƒNƒŠƒvƒgFƒXƒNƒŠƒvƒg‚©‚çŒÄ‚Ño‚³‚ê‚郆[ƒU[’è‹`ŠÖ”‚ð쬂µ‚Ü‚·B + *ユーザー定義関数スクリプト:スクリプトã‹ã‚‰å‘¼ã³å‡ºã•ã‚Œã‚‹ãƒ¦ãƒ¼ã‚¶ãƒ¼å®šç¾©é–¢æ•°ã‚’作æˆã—ã¾ã™ã€‚ functionscript{