Ok here i will show you how to spawn a npc, add weapons to it and make it walk.
First we spawn an NPC. I use a Death Knight for this:
Now you got the NPC spawn. Now i think you want a weapon.Code:.npc spawn 28934 1
for that i use Thunderfury, Blessed Blade of the Windseeker.
first target NPC
Ok equip1 is right hand, equip2 is left and equip3 is Ranged weapons like guns,bows etc etcCode:.npc equip1 19019 .npc equip2 19019 .npc equip3 19019
Now you want your npc to walk. target npc and walk a little bit and add a waypoint.
keep do that a bit and you learn to show targets waypoint useCode:.waypoint add
then you see small chars that looks like your original NPC.Code:.waypoint show
to delete a waypoint target one of the little waypoints and use
If you want your NPC to dont stay so long on one waypointCode:.waypoint delete
target the waypoint and use
.1000 = 1 secondCode:waypoint waittime 1000
10000 = 10 seconds
to hide waypoints target your NPC and use
Ok try this out a few times and you will soon master itCode:.waypoint hide
the easiest way to do waypoints and stuff is by macros
Ok now you maybe wants your NPC to do an emote.
I use dance for this. target your npc and
I dont know all Emote IDs so you have to find them yourselfCode:.npc emote 10
Thats the normal NPC stuff for guards etc etc. I dont go into how to add stuff to vendor etc etc here. But if u wants a traveling vendor you can use
the waypoints