Log in

View Full Version : Setting Mob Spawn time?


xtremeimage
12-12-2003, 08:15 AM
I was wondering if anyone could post here tellin me how to set a mobs spawn time? I use #dbspawn to summon a mob in a zone but cant for the life of me figure out how to set the spawn time. Also what command do I use to move a mob to my loction? #fixmob didnt seem to work. And how do I set it up for a mob to spawn after I kill a another mob, like in PoTime, PoAir, so on. Thanks for any help.

Loralus

Magick
12-14-2003, 06:25 PM
I think, although I could be completely wrong, that at the moment the only way to pull off another NPC spawning when one dies is by creating a quest file for that NPC and use "EVENT_DEATH" feature.

Also if you look in the db, you can set the respawn time. If you mean that you don't want various NPC's to spawn when the zone boots, I'm not exactly sure. Sony typically uses invisible mobs as timers in the zones. Again that probably relates to a .qst tied to the timer NPC. Offhand I couldn't give you a solid answer but the quest scripting should be flexible enough to figure something out. Such as setting it to spawn at a specific time or checking the server uptime and spawning it if it reaches a certain point.

Kroeg
12-15-2003, 01:09 AM
This kind of thing could be done with EVENT_DEATH. Just have the EVENT_DEATH #dbspawn npcid npcfaction :)

SaguratuS
12-15-2003, 09:34 AM
There's a table called respawn in either spawn2 or npctypes, works quite well I must say =)

omper
12-15-2003, 01:49 PM
its a field in spawn2.. you are correct sir.. and On that note.. the field is counted in seconds i believe.. correct me if i am wrong..

Omper

Muuss
12-15-2003, 08:49 PM
seconds, this is correct.