Hello, Im a complete newb at Lua so im kind of trying to start of small.
Im trying to make a Gossip Menu at first with options off all the different specs for tier 10. But i want it so that it ends in a Vendor window so i can make my items cost a certain amount of my custom currency, how would i go about this. So abit like Ground Zero's Tier 10 Vendor but a vendor window instead of it just adding the items.
i have Ground Zero's Vendor and i have tried editing it so that instead of:
player:AddItem(?????, 1) change it to pUnit:VendorAddItem(?????, 1)
Am i even going in the right Direction?
Any Help would be greatful
Thanks.
Sorry if its in the wrong section.