• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

How To Set NPC Waypoint Paths(without restarting)

tacos912

Respected Member
Hey Everyone,

In this tutorial I will show you how to create custom waypoints for specific NPC's so you can do something such as have an NPC walking back and forth. I searched for some documentation on this and didn't find anything great, so I figured someone could find this useful.

The first thing your going to want to do is lookup the NPC you want to create a waypoint for. In this example we will be creating a custom waypoint for Galkara the assassin.

.lookup creature galkara(replace galkara with creature you are looking for)

Then go ahead and grab the ID of that creature that you looked up and add him into the game:

.npc add 32425(replace 32425 with the ID of the creature you looked up)

Then click on your NPC and type .npc info. This will bring up a bunch of information about the NPC, towards the top you will see something that says "current GUID: " followed by a bunch of numbers:

.npc info

What you do next is use the command .wp add GUID(where GUID is the NPC's "current GUID: ") to the first spot you want the path, then again for second spot, again for third, and so on. In my case, it would look like this:

.wp add 15109538
.wp add 15109538
.wp add 15109538
.wp add 15109538

I would do that in four different spots to create four waypoints paths for the NPC to travel on. Once that is done, you have to reload the path for that specific NPC, like so:

.wp reload 15105718(where this # is your NPC's GUID)

Now, the final step is just loading the path to that NPC, like so:

.wp load 15105718(guid)

Your NPC should now be moving to the waypoint paths that you created. Please let me know if you have any questions!
 
Top