Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2004, 12:54 PM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default 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);
could a custom line of code be added to the embparser.cpp to make it spawn somthing in an outside zone? just wondering was going to start writing a few quests and ones like epics could spawn mobs outside the zone so you could go give items to them or somthing i dunno anyway, any ideas on the matter would be much appriciated =)
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
Reply With Quote
  #2  
Old 05-11-2004, 12:57 PM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

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 =)
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
Reply With Quote
  #3  
Old 05-12-2004, 01:42 AM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

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.
Reply With Quote
  #4  
Old 05-12-2004, 12:58 PM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

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.
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
Reply With Quote
  #5  
Old 05-12-2004, 02:50 PM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

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.
Reply With Quote
  #6  
Old 05-12-2004, 03:17 PM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

hmm. ok i think i can figure it out, if not you will see me back here =) thanks again for all the help.
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
Reply With Quote
  #7  
Old 05-13-2004, 04:57 AM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default

anyone of here having problems with spawn function?It crashes my zone when I use it.
Reply With Quote
  #8  
Old 05-13-2004, 07:38 AM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

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
Reply With Quote
  #9  
Old 05-13-2004, 10:48 AM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

Thanks appricate it much =)
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:57 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3