summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-22 22:28:34 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-22 22:28:34 -0300
commit09152b20548f8403260bda6af0941109aa9d9b96 (patch)
treed970e3cd5147c02da5a187110862fb6865831cbf
parent7cd71b66d27ec8ce3593e21a537a6c7310e71ced (diff)
downloadserverdata-09152b20548f8403260bda6af0941109aa9d9b96.tar.gz
serverdata-09152b20548f8403260bda6af0941109aa9d9b96.tar.bz2
serverdata-09152b20548f8403260bda6af0941109aa9d9b96.tar.xz
serverdata-09152b20548f8403260bda6af0941109aa9d9b96.zip
Introducing, the Function() object
When you walk over it (invisible), a function or event will be fired!
-rw-r--r--npc/008-2/_config.txt50
1 files changed, 48 insertions, 2 deletions
diff --git a/npc/008-2/_config.txt b/npc/008-2/_config.txt
index b23f19a6c..70d268662 100644
--- a/npc/008-2/_config.txt
+++ b/npc/008-2/_config.txt
@@ -1,9 +1,55 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
// Map 008-2: 2nd Floor - Party Dungeon conf
-008-2,84,208,0 script 008-2_84_208 NPC_HIDDEN,{
+
+008-2,84,208,0 script #008-2_84_208 NPC_HIDDEN,{
end;
OnDisable:
delcells "008-2_84_208"; end;
OnEnable:
OnInit:
- setcells "008-2", 84, 208, 92, 208, 3, "008-2_84_208";}
+ setcells "008-2", 84, 208, 92, 208, 3, "008-2_84_208";
+}
+
+// FIXME: Either let flip/unflip, or only run once.
+// This could be done with a new attribute and checking NPC display when only run once.
+008-2,106,237,0 script #008-2_106_237 NPC_SWITCH_ONLINE,{
+ callfunc "massprovoke", 12;
+ setnpcdisplay 008-2_106_237, NPC_SWITCH_OFFLINE;
+ end;
+OnInit:
+ .distance=2;
+}
+
+// FIXME: Either let flip/unflip, or only run once.
+// This could be done with a new attribute and checking NPC display when only run once.
+008-2,66,143,0 script #008-2_66_143 NPC_SWITCH_OFFLINE,{
+ callfunc "grenade", 12, 10000;
+ setnpcdisplay 008-2_66_143, NPC_SWITCH_ONLINE;
+ end;
+OnInit:
+ .distance=2;
+}
+
+// FIXME: Either let flip/unflip, or only run once.
+// This could be done with a new attribute and checking NPC display when only run once.
+008-2,111,166,0 script #008-2_111_166 NPC_SWITCH_ONLINE,{
+ callfunc "ALCReset";
+ setnpcdisplay 008-2_111_166, NPC_SWITCH_OFFLINE;
+ end;
+OnInit:
+ .distance=2;
+}
+
+008-2,135,21,0 script #008-2_135_21 NPC_HIDDEN,2,1,{
+ end;
+OnTouch:
+ callfunc "massprovoke", 12;
+ end;
+}
+
+008-2,54,237,0 script #008-2_54_237 NPC_HIDDEN,2,1,{
+ end;
+OnTouch:
+ doevent "#008-2_84_208::OnDisable";
+ end;
+}