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 05-16-2013, 09:21 AM
noudess
Discordant
 
Join Date: Sep 2012
Location: Upstate NY
Posts: 274
Default

Ok..

I have a solution, but something is still amiss to me.

When I simply used moveto(x,y,z,90,1) with no grids, the npcs routed to the location and stayed there (the 1 for save guard spot worked). But, I didn't like this, as the mobs ran trough walls, etc.

So, I created a grid that all of them can use.

When I put them on the grid from the beginning, I simpy let the grid take them to where I wanted. Then, if I used an WAYPOINT event to do your suggestion $npc->saveguardpoint followed by a pause, that worked.

So.... I took it one further. Once they all recached the end point (which since I was now using 1 grid was the exact same spot.. I did the move(x,y,z,90,1) with the locs I orininally wanted. With no grid, back i my 1st example, that 1 at the end saved their guard spot and they did not move. Now, on a grid, it did not. Is that a bug?

I ended up doing the following, so I'm all set, but the above seemed maybe like a bug so I wanted to mention it.

- tookthem back off the grid in the db.
- Used start(grid) on them in their spawn code.
- used move(x,y,z,90,1) in their arrive code
- then added a stop();

That worked.
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:59 PM.


 

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