summaryrefslogtreecommitdiff
path: root/npc/002-1/dan.txt
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-03-04 00:33:13 -0300
committerjesusalva <cpntb1@ymail.com>2018-03-04 00:33:13 -0300
commit553677043e690040271b59d77002bdf4de31f65c (patch)
tree93d5e18fac5c57307eebe42b37f5498f4f0ee7ed /npc/002-1/dan.txt
parent5b2d6c7647512fd3fa8d55487a82347de0bfd134 (diff)
downloadserverdata-553677043e690040271b59d77002bdf4de31f65c.tar.gz
serverdata-553677043e690040271b59d77002bdf4de31f65c.tar.bz2
serverdata-553677043e690040271b59d77002bdf4de31f65c.tar.xz
serverdata-553677043e690040271b59d77002bdf4de31f65c.zip
Rework a little the spawn code. Still looks ugly.
Diffstat (limited to 'npc/002-1/dan.txt')
-rw-r--r--npc/002-1/dan.txt25
1 files changed, 21 insertions, 4 deletions
diff --git a/npc/002-1/dan.txt b/npc/002-1/dan.txt
index bc5a5c76e..cb1616da7 100644
--- a/npc/002-1/dan.txt
+++ b/npc/002-1/dan.txt
@@ -20,14 +20,31 @@ OnInit:
.sex = G_MALE;
.distance = 5;
end;
+}
-OnRespawnPiou:
- areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("Dan#002-1")+"::OnRespawnPiou");
+002-1,0,0,0 script PiouSpwn NPC_HIDDEN,{
+OnRespawnPiou1:
+ sleep 60000;
+ areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("PiouSpwn")+"::OnRespawnPiou1");
+ end;
+OnRespawnPiou2:
+ sleep 60000;
+ areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("PiouSpwn")+"::OnRespawnPiou2");
+ end;
+OnRespawnPiou3:
+ sleep 60000;
+ areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("PiouSpwn")+"::OnRespawnPiou3");
+ end;
+OnRespawnPiou4:
+ sleep 60000;
+ areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("PiouSpwn")+"::OnRespawnPiou4");
end;
OnInstanceInit:
- //instance_set_respawn instance_mapname("002-1"), 52, 32;
- areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 3, instance_npcname("Dan#002-1")+"::OnRespawnPiou");
+ areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("PiouSpwn")+"::OnRespawnPiou1");
+ areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("PiouSpwn")+"::OnRespawnPiou2");
+ areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("PiouSpwn")+"::OnRespawnPiou3");
+ areamonster(instance_mapname("002-1"), 52, 32, 73, 41, "Piou", 1002, 1, instance_npcname("PiouSpwn")+"::OnRespawnPiou4");
end;
}