Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2015, 06:38 PM
epilz
Hill Giant
 
Join Date: Sep 2013
Posts: 247
Default question on spawn locations

I have a custom NPC that will summon adds at if ($hpevent == 9 {

Adds do spawn with the line below.

quest::spawn2(334107,0,0,347.24,2158.55,-52.03,24.5);

But they DO not spawn in the location that I have them set for. Am I missing something?

Thanks
Reply With Quote
  #2  
Old 03-14-2015, 07:18 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Quote:
Originally Posted by epilz View Post
I have a custom NPC that will summon adds at if ($hpevent == 9 {

Adds do spawn with the line below.

quest::spawn2(334107,0,0,347.24,2158.55,-52.03,24.5);

But they DO not spawn in the location that I have them set for. Am I missing something?

Thanks
Ensure you are using #loc to find x,y,z of where you want things spawned and not /loc as /loc reverses x and y.

If that is not the issue, then what zone are you trying to spawn them in? (curiosity atm). And where do they end up spawning? (use #loc on the spawned NPC that spawns as a result of your quest::spawn2)
Reply With Quote
  #3  
Old 03-14-2015, 07:26 PM
epilz
Hill Giant
 
Join Date: Sep 2013
Posts: 247
Default

damn you are right ghanja, I forget about /loc reversing x and y. Thanks man
Reply With Quote
  #4  
Old 03-14-2015, 07:38 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Quote:
Originally Posted by epilz View Post
damn you are right ghanja, I forget about /loc reversing x and y. Thanks man
You're welcome, glad it worked out.
Reply With Quote
  #5  
Old 03-14-2015, 08:31 PM
epilz
Hill Giant
 
Join Date: Sep 2013
Posts: 247
Default

just tested, worked perfectly.......now to update the other 100 custom NPCs lol
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:29 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3