summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-29 16:34:13 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-29 16:34:13 +0300
commite5f25d11eee43a31b2c41b357ac144d9e40ef37a (patch)
treed938c7f68e0beda740e3b26c38887374c34664db /src/map/init.c
parent8867d978d868f6856cf0dd9eccbe1022c2814856 (diff)
downloadevol-hercules-e5f25d11eee43a31b2c41b357ac144d9e40ef37a.tar.gz
evol-hercules-e5f25d11eee43a31b2c41b357ac144d9e40ef37a.tar.bz2
evol-hercules-e5f25d11eee43a31b2c41b357ac144d9e40ef37a.tar.xz
evol-hercules-e5f25d11eee43a31b2c41b357ac144d9e40ef37a.zip
Add script command for move camera to absolute pixel position.
New script command: setcam 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 2034b4f..2448ffa 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -60,6 +60,7 @@ HPExport void plugin_init (void)
// HPM_map_add_group_permission = GET_SYMBOL("addGroupPermission");
addScriptCommand("setcamnpc", "*", setCamNpc);
+ addScriptCommand("setcam", "ii", setCam);
addScriptCommand("restorecam", "", restoreCam);
addScriptCommand("npctalk3", "s", npcTalk3);
addScriptCommand("closedialog", "", closeDialog);