quest::spawn(x,x,x,x,x,x) question
Was just wondering, when using quest::spawn command can you cause a mob to spawn outside the current zone? assuming ofcourse you have that zone up and running in the background, but i was just looking at the syntax for the quest:spawn command, and i didn't see any place to put a zoneid
Code:
quest::spawn(npc_type,grid,guildwarset,x,y,z); |
Also was curious if you can set a certain amout of time that a mob remains up? that way if somone were to spawn a mob they actually have to go after it in a set amount of time. Thanks again =)
|
I you could spawn something in a different zone with the code as it is now. There is a notify event that lets one mob tell another mob that something happened. So that mob tells a invisible untargetable mob in another zone to spawn something in that zone. And yes you can make a mob only be up a certain time, just start a timer for them when they spawn and have a timer event that despawns them.
|
the quest::signal is the command i would use? or i think thats it, somthing like, and the timer thing i got working =) thanks for the info.
|
I believe that is the correct method. quest::signal and an EVENT_SIGNAL in the mob that is being signalled. And note that if the mob can recieve multiple different signals like to spawn different bosses you need to pass it info using the quest globals.
|
hmm. ok i think i can figure it out, if not you will see me back here =) thanks again for all the help.
|
anyone of here having problems with spawn function?It crashes my zone when I use it.
|
I had a fix for the command queue a little bit ago. I don't know if it ever actually got merged in.
http://www.eqemulator.net/forums/viewtopic.php?t=13906 May or may not fix things for you. Good luck. edit: checked 5-19-04 source, and does not appear to be merged in |
Thanks appricate it much =)
|
All times are GMT -4. The time now is 02:48 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.