summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-29 16:37:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-29 16:37:52 +0300
commitf013f783501bb92d88133d7ac9a7be6501d0dd8e (patch)
tree7df6b705ec826c7aa3e425af04e1619a3514733a /src/map/init.c
parente5f25d11eee43a31b2c41b357ac144d9e40ef37a (diff)
downloadplugin-f013f783501bb92d88133d7ac9a7be6501d0dd8e.tar.gz
plugin-f013f783501bb92d88133d7ac9a7be6501d0dd8e.tar.bz2
plugin-f013f783501bb92d88133d7ac9a7be6501d0dd8e.tar.xz
plugin-f013f783501bb92d88133d7ac9a7be6501d0dd8e.zip
Add script command for move camera to relative pixel position.
New script command: movecam x,y
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 2448ffa..e4c395c 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -61,6 +61,7 @@ HPExport void plugin_init (void)
addScriptCommand("setcamnpc", "*", setCamNpc);
addScriptCommand("setcam", "ii", setCam);
+ addScriptCommand("movecam", "ii", moveCam);
addScriptCommand("restorecam", "", restoreCam);
addScriptCommand("npctalk3", "s", npcTalk3);
addScriptCommand("closedialog", "", closeDialog);