diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-20 23:44:11 +0000 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-20 23:44:11 +0000 |
commit | 0bd02e91ecb108f0d772db74ef5b4f006db92067 (patch) | |
tree | 741e2282b9f752e9fcb0595749faec3e0075fa08 /server | |
parent | 1f9aca608d323c01a71af66b99d202ef55062003 (diff) | |
parent | d37cae61dfa402cddb21b8e14e6a89810f770395 (diff) | |
download | docs-0bd02e91ecb108f0d772db74ef5b4f006db92067.tar.gz docs-0bd02e91ecb108f0d772db74ef5b4f006db92067.tar.bz2 docs-0bd02e91ecb108f0d772db74ef5b4f006db92067.tar.xz docs-0bd02e91ecb108f0d772db74ef5b4f006db92067.zip |
Merge branch 'buildin/sendcollision' into 'master'
add documentation for command setfakecells
See merge request !1
Diffstat (limited to 'server')
-rw-r--r-- | server/scripts/evol_script_commands.txt | 16 |
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 + +--------------------------------------- |