-
Notifications
You must be signed in to change notification settings - Fork 5
Guide how to use in game
Poszer edited this page Mar 31, 2019
·
1 revision
Welcome to the Multi-Vendor-AzerothCore-Patch wiki!
Usage:
- Set your NPC to have gossip and vendor NPCflags (129)
- Add a gossip menu for him and add a new option to it.
- The option needs to have option_id set to 3 so it acts as a vendor button,
- npc_option_npcflag can be 1 or 128 (shows only if the NPC has vendor flag then) and the action_menu_id is the vendor entry from npc_vendor that you want to show to the player.
The npc add item command was modified so you can add items to multivendors as well. The last vendor window must have been the multivendor you want to add your item to. After opening the window you need to type .npc add item #itemId <#maxcount><#incrtime><#extendedcost> 1 The 1 in the end specifies that you are adding the item to the multivendor currently open. Same thing works with .npc delete item #itemId 1