diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-23 09:26:00 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-23 09:26:00 +0000 |
commit | 35467de0fb6dc06a402315ea478495d74080e3c5 (patch) | |
tree | 79659d470525996eb45773c0d196df440b35330e /doc/script_commands.txt | |
parent | 89974727211311dc13f3c823ab6f565f8942455b (diff) | |
download | hercules-35467de0fb6dc06a402315ea478495d74080e3c5.tar.gz hercules-35467de0fb6dc06a402315ea478495d74080e3c5.tar.bz2 hercules-35467de0fb6dc06a402315ea478495d74080e3c5.tar.xz hercules-35467de0fb6dc06a402315ea478495d74080e3c5.zip |
* Added script command pushpc, which is required by newer scripts.
- Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14492 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 1c75bb062..29e9edee4 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -135,6 +135,8 @@ //= 3.28.20091119 //= Added showevent and searchitem commands [Skotlex] //= Added info on strcharinfo(3) [Skotlex] +//= 3.29.20101123 +//= Added 'pushpc' command. [Ai4rei] //========================================================= This document is a reference manual for all the scripting commands and functions @@ -3870,6 +3872,22 @@ you can look at, this may help you create a Stylist of your own: 'custom\dye.txt' --------------------------------------- + +*pushpc <direction>,<cells>; + +This command will push the currently attached player to given direction by given +amount of square cells. Direction is the same as used when declaring npcs, and +can be specified by using one of the DIR_* constants (db/const.txt). + +The knock-back is not restricted by items or map flags, only obstacles are taken +into account. If there is not enough space to perform the push (e.g. due to a +wall), the character is pushed only up to the obstacle. + + // pushes the character 5 cells in 3 o'clock direction from it's + // current position. + pushpc DIR_EAST, 5; + +--------------------------------------- \\ 4,1.- Item-related commands \\ |