diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-29 22:49:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-29 22:49:50 +0300 |
commit | af423d7d01ad01faaab863def03691ee1bd5cdf3 (patch) | |
tree | e4406dc470bd1fa9ef4a0771367568d18e99166f | |
parent | 39fa4991f1ce803da04fae342d5ab64111a3df5e (diff) | |
download | docs-af423d7d01ad01faaab863def03691ee1bd5cdf3.tar.gz docs-af423d7d01ad01faaab863def03691ee1bd5cdf3.tar.bz2 docs-af423d7d01ad01faaab863def03691ee1bd5cdf3.tar.xz docs-af423d7d01ad01faaab863def03691ee1bd5cdf3.zip |
Add initial evol script commands file.
Now included only camera moving commands.
-rw-r--r-- | server/scripts/evol_script_commands.txt | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/server/scripts/evol_script_commands.txt b/server/scripts/evol_script_commands.txt new file mode 100644 index 0000000..e8571e4 --- /dev/null +++ b/server/scripts/evol_script_commands.txt @@ -0,0 +1,51 @@ +====== Evol script commands ====== + +*chatjoin chatId [, char [,password]] + +Force player to join chat with id chatId. + +Example: + chatjoin .chat; + +--------------------------------------- + +*setcamnpc [npcName [, x, y]] + +Enable camera moving mode in client and move camera to npc with name "npcName" +and move relative from it in x and y pixels. +If "npcName" is missing, using attached npc. +If x and y missing, it count as 0. + +Example: + setcamnpc 32, 0; + setcamnpc "npc1"; + +--------------------------------------- + +*setcam x, y + +Move camera to absolute position x,y in pixels. + +Example: + setcam 0, 0; + setcam 2000, 512; + +--------------------------------------- + +*movecam x, y + +Enable camera moving mode in client and move camera relative to player +position by x and y pixels. + +Example: + movecam 10, 20; + +--------------------------------------- + +*restorecam + +Disable camera moving mode in client and set camera to default position. + +Example: + restorecam; + |