fastanvil.lua 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. --[[
  2. Script Name : fastanvil.lua
  3. Script Purpose : Waypoint Path for fastanvil.lua
  4. Script Author : Devn00b
  5. Script Date : 04/15/2020 05:08:24 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcologyHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcologyCallout(NPC, Spawn, faction)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 445.49, -20.69, -251.5, 2, 0)
  22. MovementLoopAddLocation(NPC, 432.17, -21.56, -244.44, 2, 0)
  23. MovementLoopAddLocation(NPC, 398.07, -23.5, -206.81, 2, 0)
  24. MovementLoopAddLocation(NPC, 396.65, -21, -189.3, 2, 0)
  25. MovementLoopAddLocation(NPC, 401.64, -20.92, -180.2, 2, 0)
  26. MovementLoopAddLocation(NPC, 398, -20.91, -174.39, 2, 0)
  27. MovementLoopAddLocation(NPC, 395.77, -20.92, -174.69, 2, 60)
  28. MovementLoopAddLocation(NPC, 389.22, -20.94, -174.03, 2, 0)
  29. MovementLoopAddLocation(NPC, 372.36, -23.33, -165.29, 2, 0)
  30. MovementLoopAddLocation(NPC, 355.72, -25.24, -170.55, 2, 0)
  31. MovementLoopAddLocation(NPC, 344.69, -24.42, -154.88, 2, 0)
  32. MovementLoopAddLocation(NPC, 322.41, -23.28, -108.44, 2, 0)
  33. MovementLoopAddLocation(NPC, 314.55, -22.73, -93.02, 2, 0)
  34. MovementLoopAddLocation(NPC, 302.1, -21.2, -47.56, 2, 0)
  35. MovementLoopAddLocation(NPC, 325.92, -21.48, -23.16, 2, 0)
  36. MovementLoopAddLocation(NPC, 358.51, -21.34, -20.8, 2, 0)
  37. MovementLoopAddLocation(NPC, 326.29, -21.45, -17.85, 2, 0)
  38. MovementLoopAddLocation(NPC, 299.97, -21.2, 3.25, 2, 0)
  39. MovementLoopAddLocation(NPC, 287.94, -21.29, -0.61, 2, 0)
  40. MovementLoopAddLocation(NPC, 251.08, -20.62, 15.29, 2, 0)
  41. MovementLoopAddLocation(NPC, 252.25, -19.19, 44.59, 2, 0)
  42. MovementLoopAddLocation(NPC, 267.8, -14.94, 71.67, 2, 0)
  43. MovementLoopAddLocation(NPC, 285.87, -12.87, 82.19, 2, 0)
  44. MovementLoopAddLocation(NPC, 289.53, -13.06, 102.04, 2, 0)
  45. MovementLoopAddLocation(NPC, 285.87, -12.87, 82.19, 2, 0)
  46. MovementLoopAddLocation(NPC, 267.8, -14.94, 71.67, 2, 0)
  47. MovementLoopAddLocation(NPC, 252.25, -19.19, 44.59, 2, 0)
  48. MovementLoopAddLocation(NPC, 251.08, -20.62, 15.29, 2, 0)
  49. MovementLoopAddLocation(NPC, 287.94, -21.29, -0.61, 2, 0)
  50. MovementLoopAddLocation(NPC, 299.97, -21.2, 3.25, 2, 0)
  51. MovementLoopAddLocation(NPC, 326.29, -21.45, -17.85, 2, 0)
  52. MovementLoopAddLocation(NPC, 358.51, -21.34, -20.8, 2, 0)
  53. MovementLoopAddLocation(NPC, 325.92, -21.48, -23.16, 2, 0)
  54. MovementLoopAddLocation(NPC, 302.1, -21.2, -47.56, 2, 0)
  55. MovementLoopAddLocation(NPC, 314.55, -22.73, -93.02, 2, 0)
  56. MovementLoopAddLocation(NPC, 322.41, -23.28, -108.44, 2, 0)
  57. MovementLoopAddLocation(NPC, 344.69, -24.42, -154.88, 2, 0)
  58. MovementLoopAddLocation(NPC, 355.72, -25.24, -170.55, 2, 0)
  59. MovementLoopAddLocation(NPC, 372.36, -23.33, -165.29, 2, 0)
  60. MovementLoopAddLocation(NPC, 389.22, -20.94, -174.03, 2, 0)
  61. MovementLoopAddLocation(NPC, 395.77, -20.92, -174.69, 2, 0)
  62. MovementLoopAddLocation(NPC, 398, -20.91, -174.39, 2, 0)
  63. MovementLoopAddLocation(NPC, 401.64, -20.92, -180.2, 2, 0)
  64. MovementLoopAddLocation(NPC, 396.65, -21, -189.3, 2, 0)
  65. MovementLoopAddLocation(NPC, 398.07, -23.5, -206.81, 2, 0)
  66. MovementLoopAddLocation(NPC, 432.17, -21.56, -244.44, 2, 0)
  67. MovementLoopAddLocation(NPC, 445.49, -20.69, -251.5, 2, 0)
  68. end