9
3

TippinWagglewrench.lua 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --[[
  2. Script Name : SpawnScripts/TempleSt/TippinWagglewrench.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.28 03:10:33
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 6, "InRange", "LeaveRange")
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcology2Hail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcology2Callout(NPC, Spawn, faction)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 28.13, 3, 84.94, 2, 1)
  25. MovementLoopAddLocation(NPC, 28.13, 3, 84.94, 2, 20,"EcologyEmotes")
  26. MovementLoopAddLocation(NPC, 25.42, 3, 83.57, 2, 0)
  27. MovementLoopAddLocation(NPC, 17.89, 3, 85.41, 2, 1)
  28. MovementLoopAddLocation(NPC, 17.89, 3, 85.41, 2, 20,"EcologyEmotes")
  29. MovementLoopAddLocation(NPC, 18.78, 3, 84.38, 2, 0)
  30. MovementLoopAddLocation(NPC, 23.16, 3, 90.93, 2, 0)
  31. MovementLoopAddLocation(NPC, 28.29, 3, 100.17, 2, 0)
  32. MovementLoopAddLocation(NPC, 29.34, 3, 103.79, 2, 0)
  33. MovementLoopAddLocation(NPC, 33.86, 3, 110.37, 2, 0)
  34. MovementLoopAddLocation(NPC, 34.68, 3, 111.14, 2, 1)
  35. MovementLoopAddLocation(NPC, 34.68, 3, 111.14, 2, 20,"EcologyEmotes")
  36. MovementLoopAddLocation(NPC, 37.48, 3, 108.35, 2, 0)
  37. MovementLoopAddLocation(NPC, 40.17, 3, 108.85, 2, 0)
  38. MovementLoopAddLocation(NPC, 34.92, 3, 109.59, 2, 0)
  39. MovementLoopAddLocation(NPC, 29.94, 3, 103.69, 2, 0)
  40. MovementLoopAddLocation(NPC, 27.36, 3, 98.82, 2, 0)
  41. MovementLoopAddLocation(NPC, 21.73, 3, 93.37, 2, 0)
  42. MovementLoopAddLocation(NPC, 19.64, 3, 87.48, 2, 0)
  43. MovementLoopAddLocation(NPC, 20.47, 3.01, 83.03, 2, 0)
  44. MovementLoopAddLocation(NPC, 20.81, 3, 80.26, 2, 0)
  45. MovementLoopAddLocation(NPC, 18.32, 3.01, 70.82, 2, 0)
  46. MovementLoopAddLocation(NPC, 21.11, 2.91, 65.83, 2, 0)
  47. MovementLoopAddLocation(NPC, 23.28, 2.97, 57.21, 2, 1)
  48. MovementLoopAddLocation(NPC, 23.28, 2.97, 57.21, 2, 20,"EcologyEmotes")
  49. MovementLoopAddLocation(NPC, 23.57, 2.99, 58.79, 2, 0)
  50. MovementLoopAddLocation(NPC, 25.79, 3, 59.44, 2, 0)
  51. MovementLoopAddLocation(NPC, 27.94, 3, 58.35, 2, 0)
  52. MovementLoopAddLocation(NPC, 29.98, 3, 56.56, 2, 0)
  53. MovementLoopAddLocation(NPC, 31.69, 3, 52.63, 2, 0)
  54. MovementLoopAddLocation(NPC, 28.79, 2.99, 46.6, 2, 0)
  55. MovementLoopAddLocation(NPC, 25.92, 2.92, 38.63, 2, 0)
  56. MovementLoopAddLocation(NPC, 29.25, 2.92, 25.61, 2, 0)
  57. MovementLoopAddLocation(NPC, 30.62, 2.92, 26.17, 2, 1)
  58. MovementLoopAddLocation(NPC, 30.62, 2.92, 26.17, 2, 20,"EcologyEmotes")
  59. MovementLoopAddLocation(NPC, 30, 3, 26.1, 2, 1)
  60. MovementLoopAddLocation(NPC, 30, 3, 26.1, 2, 20)
  61. MovementLoopAddLocation(NPC, 29.07, 2.92, 29.97, 2, 0)
  62. MovementLoopAddLocation(NPC, 28.14, 2.92, 33.84, 2, 0)
  63. MovementLoopAddLocation(NPC, 33.03, 2.99, 47.44, 2, 0)
  64. MovementLoopAddLocation(NPC, 34.11, 3, 52.7, 2, 0)
  65. MovementLoopAddLocation(NPC, 30.37, 3, 57.38, 2, 0)
  66. MovementLoopAddLocation(NPC, 25.84, 3, 60.13, 2, 0)
  67. MovementLoopAddLocation(NPC, 20.36, 3.09, 62.66, 2, 1)
  68. MovementLoopAddLocation(NPC, 20.36, 3.09, 62.66, 2, 20,"EcologyEmotes")
  69. MovementLoopAddLocation(NPC, 22.3, 2.95, 62.58, 2, 0)
  70. MovementLoopAddLocation(NPC, 21.58, 2.93, 66.26, 2, 0)
  71. MovementLoopAddLocation(NPC, 19.38, 3.01, 77.73, 2, 0)
  72. end