summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-07 18:19:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-16 22:44:20 +0300
commit61d6c958d5a753904d32ef2057b50f426bb0f3b9 (patch)
tree97a563e9f9ecc99ada1f7505459c58add34e47b2 /src/map/script.c
parent625ed85b6a3d88587e8927f1f640f1fadd3dc642 (diff)
downloadhercules-61d6c958d5a753904d32ef2057b50f426bb0f3b9.tar.gz
hercules-61d6c958d5a753904d32ef2057b50f426bb0f3b9.tar.bz2
hercules-61d6c958d5a753904d32ef2057b50f426bb0f3b9.tar.xz
hercules-61d6c958d5a753904d32ef2057b50f426bb0f3b9.zip
Add function what call OnUntouch event.
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index fbfb88de2..3ccb6a45a 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -20124,8 +20124,9 @@ void script_defaults(void) {
script->config.loadmap_event_name = "OnPCLoadMapEvent";
script->config.baselvup_event_name = "OnPCBaseLvUpEvent";
script->config.joblvup_event_name = "OnPCJobLvUpEvent";
- script->config.ontouch_name = "OnTouch_";//ontouch_name (runs on first visible char to enter area, picks another char if the first char leaves)
- script->config.ontouch2_name = "OnTouch";//ontouch2_name (run whenever a char walks into the OnTouch area)
+ script->config.ontouch_name = "OnTouch_"; //ontouch_name (runs on first visible char to enter area, picks another char if the first char leaves)
+ script->config.ontouch2_name = "OnTouch"; //ontouch2_name (run whenever a char walks into the OnTouch area)
+ script->config.onuntouch_name = "OnUnTouch"; //onuntouch_name (run whenever a char walks from the OnTouch area)
// for ENABLE_CASE_CHECK
script->calc_hash_ci = calc_hash_ci;