Page 1 of 1
Automatic Spawn NPC/Monster ?
Posted: Sat Jan 23, 2010 12:56 pm
by rigid
how to automatic spawn npc or monster
ie :
SPAWN GMShop with id : 2121212
spawn in giran with x= 1102011 y=132028 z=-1023
Just spawn 3 Hours / 24 Jam
Re: Automatic Spawn NPC/Monster ?
Posted: Sat Jan 23, 2010 5:07 pm
by takhs7
i dont have time to give example script but.. here is how u can do it in few words..
make a .py script that spawns the npc.. add it to cron folder and then add a task to global_tasks in the database to run every xx hours/minutes u want.. or specific times.. (for example every day at 8pm).
Re: Automatic Spawn NPC/Monster ?
Posted: Sat Jan 23, 2010 7:25 pm
by peinado
onSpawn()
startquesttimer("respawn",...)
Re: Automatic Spawn NPC/Monster ?
Posted: Sat Jan 23, 2010 9:45 pm
by rigid
can u give me a full code please ?
because im noob about that

Re: Automatic Spawn NPC/Monster ?
Posted: Mon Dec 27, 2010 6:39 am
by mrvietdung
Can send a file or document about it? We need know put these code where and when.. Thanks for help.