Advertisement
naicer

lua dfinder

Jan 16th, 2014
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. -- Variables
  2. local NPC_ID = 999456
  3.  
  4. -- Triggers for Teleporter
  5. function GossipMenu(pUnit, event, pPlayer)
  6. pUnit:GossipCreateMenu(100, pPlayer, 0)
  7. pUnit:GossipMenuAddItem(2, "|cFF0000FF[5MAN]Instances Que", 101, 0)
  8. pUnit:GossipMenuAddItem(2, "|cFFFF0000[Custom-3MAN]Instances QueHorde Cities", 102, 0)
  9. pUnit:GossipMenuAddItem(2, "|cFFFFFF00[10MAN]Raid Que", 103, 0)
  10. pUnit:GossipMenuAddItem(7, "Never mind", 999, 0)
  11. pUnit:GossipSendMenu(pPlayer)
  12. end
  13.  
  14. -- Submenus
  15.  
  16. function GossipSubmenu(pUnit, event, pPlayer, id, intid, code)
  17. if (intid == 101) then
  18. pUnit:GossipCreateMenu(99, pPlayer, 0)
  19. pUnit:GossipMenuAddItem(2, "Hour of Thilight", 201, 0)
  20. pUnit:GossipMenuAddItem(2, "Well of Eternity", 202, 0)
  21. pUnit:GossipMenuAddItem(2, "Zul'Aman", 203, 0)
  22. pUnit:GossipMenuAddItem(2, "Zul'Gurub", 204, 0)
  23. pUnit:GossipMenuAddItem(7, "Never mind", 999, 0)
  24. pUnit:GossipSendMenu(pPlayer)
  25. end
  26. if (intid == 102) then
  27. pUnit:GossipCreateMenu(99, pPlayer, 0)
  28. pUnit:GossipMenuAddItem(2, "The Vortex Pinnacle", 301, 0)
  29. pUnit:GossipMenuAddItem(2, "The Violet Hold", 302, 0)
  30. pUnit:GossipMenuAddItem(2, "Trial of the Champion", 303, 0)
  31. pUnit:GossipMenuAddItem(2, "Halls of Reflection", 304, 0)
  32. pUnit:GossipMenuAddItem(7, "Never mind", 999, 0)
  33. pUnit:GossipSendMenu(pPlayer)
  34. end
  35. if (intid == 103) then
  36. pUnit:GossipCreateMenu(99, pPlayer, 0)
  37. pUnit:GossipMenuAddItem(2, "Throne of the Four Winds", 401, 0)
  38. pUnit:GossipMenuAddItem(2, "Blackwing Descent", 402, 0)
  39. pUnit:GossipMenuAddItem(7, "Never mind", 999, 0)
  40. pUnit:GossipSendMenu(pPlayer)
  41. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement