EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   question on spawn locations (https://www.eqemulator.org/forums/showthread.php?t=39471)

epilz 03-14-2015 06:38 PM

question on spawn locations
 
I have a custom NPC that will summon adds at if ($hpevent == 98) {

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

ghanja 03-14-2015 07:18 PM

Quote:

Originally Posted by epilz (Post 238651)
I have a custom NPC that will summon adds at if ($hpevent == 98) {

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)

epilz 03-14-2015 07:26 PM

damn you are right ghanja, I forget about /loc reversing x and y. Thanks man

ghanja 03-14-2015 07:38 PM

Quote:

Originally Posted by epilz (Post 238653)
damn you are right ghanja, I forget about /loc reversing x and y. Thanks man

You're welcome, glad it worked out.

epilz 03-14-2015 08:31 PM

just tested, worked perfectly.......now to update the other 100 custom NPCs lol


All times are GMT -4. The time now is 11:10 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.