Hanstock.lua 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. --[[
  2. Script Name : Hanstock.lua
  3. Script Purpose : Waypoint Path for Hanstock.lua
  4. Script Author : Auto Generated
  5. Script Date : 04/08/2020 11:54:53 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/human_eco_good_1/ft/service/guard/human_guard_service_good_1_hail_gm_ebfceda5.mp3", "Greetings, citizen. I am on guard duty. Should you get into trouble, seek me out.", "attention", 1945337199, 2685949436, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/service/guard/human_guard_service_good_1_hail_gm_76da37c9.mp3", "I hate working this shift! If the gnolls don't attack now, I may die of boredom.", "grumble", 4099618783, 4191002419, Spawn)
  18. elseif choice == 3 then
  19. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/service/guard/human_guard_service_good_1_hail_gm_ee473c11.mp3", "Good day to you, citizen. All preserve Queen Antonia.", "salute", 2997871263, 2912813719, Spawn)
  20. else
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end
  26. function waypoints(NPC)
  27. MovementLoopAddLocation(NPC, 874.28, -25.36, -62.98, 2, 0)
  28. MovementLoopAddLocation(NPC, 894.59, -25.36, -50.05, 2, 0)
  29. MovementLoopAddLocation(NPC, 905.14, -25.37, -20.73, 2, 0)
  30. MovementLoopAddLocation(NPC, 903.37, -25.37, 14.31, 2, 0)
  31. MovementLoopAddLocation(NPC, 949.04, -25.5, 30.04, 2, 0)
  32. MovementLoopAddLocation(NPC, 960.34, -25.47, 18.04, 2, 0)
  33. MovementLoopAddLocation(NPC, 989.2, -25.11, 15.34, 2, 30)
  34. MovementLoopAddLocation(NPC, 963.89, -25.47, 16.77, 2, 0)
  35. MovementLoopAddLocation(NPC, 947.16, -25.5, 30.8, 2, 0)
  36. MovementLoopAddLocation(NPC, 934.16, -25.52, 25.45, 2, 0)
  37. MovementLoopAddLocation(NPC, 922.35, -25.49, 51.75, 2, 0)
  38. MovementLoopAddLocation(NPC, 859.14, -25.37, 40.63, 2, 0)
  39. MovementLoopAddLocation(NPC, 836.86, -23.28, 43, 2, 0)
  40. MovementLoopAddLocation(NPC, 820.26, -23.32, 78.33, 2, 0)
  41. MovementLoopAddLocation(NPC, 812.84, -23.31, 104.84, 2, 0)
  42. MovementLoopAddLocation(NPC, 802.18, -20.93, 141.48, 2, 0)
  43. MovementLoopAddLocation(NPC, 812.84, -23.31, 104.84, 2, 0)
  44. MovementLoopAddLocation(NPC, 820.26, -23.32, 78.33, 2, 0)
  45. MovementLoopAddLocation(NPC, 836.86, -23.28, 43, 2, 0)
  46. MovementLoopAddLocation(NPC, 859.14, -25.37, 40.63, 2, 0)
  47. MovementLoopAddLocation(NPC, 922.35, -25.49, 51.75, 2, 0)
  48. MovementLoopAddLocation(NPC, 934.16, -25.52, 25.45, 2, 0)
  49. MovementLoopAddLocation(NPC, 947.16, -25.5, 30.8, 2, 0)
  50. MovementLoopAddLocation(NPC, 963.89, -25.47, 16.77, 2, 0)
  51. MovementLoopAddLocation(NPC, 989.2, -25.11, 15.34, 2, 0)
  52. MovementLoopAddLocation(NPC, 960.34, -25.47, 18.04, 2, 0)
  53. MovementLoopAddLocation(NPC, 949.04, -25.5, 30.04, 2, 0)
  54. MovementLoopAddLocation(NPC, 903.37, -25.37, 14.31, 2, 0)
  55. MovementLoopAddLocation(NPC, 905.14, -25.37, -20.73, 2, 0)
  56. MovementLoopAddLocation(NPC, 894.59, -25.36, -50.05, 2, 0)
  57. MovementLoopAddLocation(NPC, 874.28, -25.36, -62.98, 2, 0)
  58. end