Groban.lua 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : Highgold.lua
  3. Script Purpose : Waypoint Path for Highgold.lua
  4. Script Author : Auto Generated
  5. Script Date : 04/08/2020 08:13:18 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. local choice = math.random(1,3)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/dwarf_eco_good_1/ft/service/guard/dwarf_guard_service_good_1_hail_gm_ee473c11.mp3", "Good day to you citizen, all preserve Queen Antonia.", "salute", 2539353309, 3288832983, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/dwarf_eco_good_1/ft/service/guard/dwarf_guard_service_good_1_hail_gm_ebfceda5.mp3", "Greetings, citizen. I am on guard duty. Should you get into trouble, seek me out.", "attention", 1717559969, 1730005307, Spawn)
  18. elseif choice == 3 then
  19. PlayFlavor(NPC, "voiceover/english/dwarf_eco_good_1/ft/service/guard/dwarf_guard_service_good_1_hail_gm_c865a827.mp3", "Duty above all else citizen, except honor!", "scold", 3958491070, 1651361777, Spawn)
  20. else
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end
  26. function waypoints(NPC)
  27. MovementLoopAddLocation(NPC, 679.82, -21.04, -115.09, 2, 0)
  28. MovementLoopAddLocation(NPC, 710.6, -20.89, -66.2, 2, 2)
  29. MovementLoopAddLocation(NPC, 700.37, -20.64, -15.85, 2, 5)
  30. MovementLoopAddLocation(NPC, 741.96, -21.2, -14.13, 2, 8)
  31. MovementLoopAddLocation(NPC, 757.77, -20.81, 7.22, 2, 1)
  32. MovementLoopAddLocation(NPC, 762.62, -21.48, -45.59, 2, 0)
  33. MovementLoopAddLocation(NPC, 779.17, -21.13, -45.52, 2, 0)
  34. MovementLoopAddLocation(NPC, 795.39, -21, -58.93, 2, 12)
  35. MovementLoopAddLocation(NPC, 745.01, -21.46, -58.01, 2, 0)
  36. MovementLoopAddLocation(NPC, 715.91, -21.27, -61.53, 2, 0)
  37. MovementLoopAddLocation(NPC, 676.46, -20.65, -124.59, 2, 17)
  38. MovementLoopAddLocation(NPC, 715.91, -21.27, -61.53, 2, 0)
  39. MovementLoopAddLocation(NPC, 745.01, -21.46, -58.01, 2, 0)
  40. MovementLoopAddLocation(NPC, 795.39, -21, -58.93, 2, 5)
  41. MovementLoopAddLocation(NPC, 779.17, -21.13, -45.52, 2, 0)
  42. MovementLoopAddLocation(NPC, 762.62, -21.48, -45.59, 2, 0)
  43. MovementLoopAddLocation(NPC, 757.77, -20.81, 7.22, 2, 0)
  44. MovementLoopAddLocation(NPC, 741.96, -21.2, -14.13, 2, 0)
  45. MovementLoopAddLocation(NPC, 700.37, -20.64, -15.85, 2, 0)
  46. MovementLoopAddLocation(NPC, 710.6, -20.89, -66.2, 2, 0)
  47. MovementLoopAddLocation(NPC, 679.82, -21.04, -115.09, 2, 0)
  48. end