EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   NPC Pathing (https://www.eqemulator.org/forums/showthread.php?t=30462)

blackdragonsdg 02-01-2010 04:03 AM

NPC Pathing
 
I am trying to export the npc pathing I set on my minilogin but I seem to be missing something. Setting the way points in game using the #wpadd command sets the way points for that particular npc in the grid and grid_entries tables but there isn't anything linking those tables to the npc's as far as I can tell. I noticed that in the spawn2 table there is a column labeled pathgrid but it is always set to 0. What part am I missing that will link it all together?

Lillu 02-01-2010 04:52 AM

You miss nothing, the pathgrid field in spawn2 table is the one linking NPCs and pathgrids.
You create a:
- pathgrid (grid table)
- you add waypoints to that grid (grid_entries )
- you have to assign the pathgridID to a specifit NPC in the spawn2 table pathgrid frield.

Make sure the pathgrid field isn't 0.

trevius 02-01-2010 06:02 AM

This should make it as clear as possible:

http://www.georgestools.eqemulator.n...ng_spawns.html

blackdragonsdg 02-01-2010 02:53 PM

Oh so I just needed to add the pathgrid id's to the spawn2 table, that is simple enough. Thanks for the help!


All times are GMT -4. The time now is 05:00 AM.

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