9
3

Highgold.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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,2)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/optional2/highelf_eco_good_1/ft/service/guard/highelf_guard_service_good_1_hail_gf_d7fdb65.mp3", "Greetings, citizen. I am on guard duty. Should you get into trouble, seek me out.", "attention", 2772203714, 1169089481, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/optional2/highelf_eco_good_1/ft/service/guard/highelf_guard_service_good_1_hail_gf_9e30d7b1.mp3", "I hate the night shift! If the gnolls don't attack now, I may die of boredom.", "grumble", 1243870883, 2445109433, Spawn)
  18. else
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function waypoints(NPC)
  25. MovementLoopAddLocation(NPC, 679.82, -21.04, -115.09, 2, 0)
  26. MovementLoopAddLocation(NPC, 708.6, -20.89, -66.2, 2, 2)
  27. MovementLoopAddLocation(NPC, 698.37, -20.64, -15.85, 2, 5)
  28. MovementLoopAddLocation(NPC, 739.96, -21.2, -14.13, 2, 8)
  29. MovementLoopAddLocation(NPC, 755.77, -20.81, 7.22, 2, 1)
  30. MovementLoopAddLocation(NPC, 762.62, -21.48, -45.59, 2, 0)
  31. MovementLoopAddLocation(NPC, 779.17, -21.13, -45.52, 2, 0)
  32. MovementLoopAddLocation(NPC, 795.39, -21, -58.93, 2, 12)
  33. MovementLoopAddLocation(NPC, 745.01, -21.46, -58.01, 2, 0)
  34. MovementLoopAddLocation(NPC, 715.91, -21.27, -61.53, 2, 0)
  35. MovementLoopAddLocation(NPC, 676.46, -20.65, -124.59, 2, 17)
  36. MovementLoopAddLocation(NPC, 715.91, -21.27, -61.53, 2, 0)
  37. MovementLoopAddLocation(NPC, 745.01, -21.46, -58.01, 2, 0)
  38. MovementLoopAddLocation(NPC, 793.71 -21.05 -58.65, 2, 9)
  39. MovementLoopAddLocation(NPC, 779.17, -21.13, -45.52, 2, 0)
  40. MovementLoopAddLocation(NPC, 762.62, -21.48, -45.59, 2, 0)
  41. MovementLoopAddLocation(NPC, 757.77, -20.81, 7.22, 2, 0)
  42. MovementLoopAddLocation(NPC, 741.96, -21.2, -14.13, 2, 0)
  43. MovementLoopAddLocation(NPC, 698.37, -20.64, -15.85, 2, 0)
  44. MovementLoopAddLocation(NPC, 710.6, -20.89, -66.2, 2, 0)
  45. MovementLoopAddLocation(NPC, 679.82, -21.04, -115.09, 2, 0)
  46. end