summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-06-20 16:58:46 -0400
committermekolat <mekolat@users.noreply.github.com>2016-06-20 19:17:46 -0400
commitd37cae61dfa402cddb21b8e14e6a89810f770395 (patch)
tree741e2282b9f752e9fcb0595749faec3e0075fa08
parent1f9aca608d323c01a71af66b99d202ef55062003 (diff)
downloaddocs-d37cae61dfa402cddb21b8e14e6a89810f770395.tar.gz
docs-d37cae61dfa402cddb21b8e14e6a89810f770395.tar.bz2
docs-d37cae61dfa402cddb21b8e14e6a89810f770395.tar.xz
docs-d37cae61dfa402cddb21b8e14e6a89810f770395.zip
add documentation for command setfakecells
-rw-r--r--server/scripts/evol_script_commands.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/server/scripts/evol_script_commands.txt b/server/scripts/evol_script_commands.txt
index 33698a5..e59aed0 100644
--- a/server/scripts/evol_script_commands.txt
+++ b/server/scripts/evol_script_commands.txt
@@ -657,7 +657,7 @@ Example:
---------------------------------------
-*checknpccell
+*checknpccell
Check given cell in map for flag for attached npc.
Most time it used for check is this cell walkable for npc or not.
@@ -846,3 +846,17 @@ Example:
htput(.@ht_id, .@key$, .@oldval + .@oldval); // concatenate each value with itself
}
htidelete(.@it)
+
+---------------------------------------
+
+*setfakecells x1, y1 [, x2, y2 ], mask
+
+Send fake collision data to the client. Sets the cells of square
+area 'x1', 'y1' [, 'x2', 'y2'] to BlockType 'mask'. Only exists client-side.
+For real collision, use the setcells & delcells commands.
+
+Example:
+ setfakecells 25, 45, 29, 50, 1; // block
+ setfakecells 25, 45, 29, 50, 0; // allow
+
+---------------------------------------