9
3

TinkTonksnipper.lua 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --[[
  2. Script Name : SpawnScripts/TempleSt/TinkTonksnipper.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.28 03:10:17
  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. GenericRaceCheckHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericRaceCheckCallout(NPC, Spawn, faction)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 15.82, 3, 78.54, 2, 0)
  25. MovementLoopAddLocation(NPC, 15.06, 3, 80.53, 2, 0)
  26. MovementLoopAddLocation(NPC, 12.75, 3, 82.45, 2, 0)
  27. MovementLoopAddLocation(NPC, 3.96, 3, 86.64, 2, 0)
  28. MovementLoopAddLocation(NPC, -6.12, 3, 92.35, 2, 0)
  29. MovementLoopAddLocation(NPC, -5.71, 3, 94.1, 2, 0)
  30. MovementLoopAddLocation(NPC, -3.96, 3, 96.94, 2, 0)
  31. MovementLoopAddLocation(NPC, -6.72, 3, 102.07, 2, 0)
  32. MovementLoopAddLocation(NPC, -13.37, 3, 105.11, 2, 0)
  33. MovementLoopAddLocation(NPC, -17.99, 2.75, 105.42, 2, 0)
  34. MovementLoopAddLocation(NPC, -33.91, 2.83, 113.82, 2, 0)
  35. MovementLoopAddLocation(NPC, -35.11, 2.83, 117.53, 2, 0)
  36. MovementLoopAddLocation(NPC, -33.36, 2.82, 122.34, 2, 1)
  37. MovementLoopAddLocation(NPC, -33.36, 2.82, 122.34, 2, MakeRandomInt(20,33),"EcologyEmotes")
  38. MovementLoopAddLocation(NPC, -33.36, 2.82, 122.34, 2, 0)
  39. MovementLoopAddLocation(NPC, -37.43, 2.84, 120.85, 2, 1)
  40. MovementLoopAddLocation(NPC, -37.43, 2.84, 120.85, 2, MakeRandomInt(20,33),"EcologyEmotes")
  41. MovementLoopAddLocation(NPC, -37.43, 2.84, 120.85, 2, 0)
  42. MovementLoopAddLocation(NPC, -37.43, 2.85, 118.14, 2, 0)
  43. MovementLoopAddLocation(NPC, -35.93, 2.85, 112.96, 2, 0)
  44. MovementLoopAddLocation(NPC, -31.07, 2.79, 110.23, 2, 0)
  45. MovementLoopAddLocation(NPC, -26.75, 2.84, 106.56, 2, 0)
  46. MovementLoopAddLocation(NPC, -17.15, 3, 102.03, 2, 0)
  47. MovementLoopAddLocation(NPC, -14.07, 3, 104.13, 2, 0)
  48. MovementLoopAddLocation(NPC, -6.86, 3, 100.57, 2, 0)
  49. MovementLoopAddLocation(NPC, -6.05, 3, 98.24, 2, 0)
  50. MovementLoopAddLocation(NPC, -7.04, 3, 93.38, 2, 0)
  51. MovementLoopAddLocation(NPC, -4.36, 3, 89.01, 2, 0)
  52. MovementLoopAddLocation(NPC, 1.39, 3, 86.32, 2, 0)
  53. MovementLoopAddLocation(NPC, 7.47, 3, 84.59, 2, 0)
  54. MovementLoopAddLocation(NPC, 12.98, 3, 82.01, 2, 0)
  55. MovementLoopAddLocation(NPC, 15.05, 3, 79.38, 2, 0)
  56. MovementLoopAddLocation(NPC, 18.84, 3.01, 78.23, 2, 0)
  57. MovementLoopAddLocation(NPC, 27.41, 3, 72.98, 2, 1)
  58. MovementLoopAddLocation(NPC, 27.41, 3, 72.98, 2, MakeRandomInt(20,33),"EcologyEmotes")
  59. MovementLoopAddLocation(NPC, 26.54, 3, 74, 2, 0)
  60. MovementLoopAddLocation(NPC, 33.89, 3, 79.3, 2, 0)
  61. MovementLoopAddLocation(NPC, 35.1, 3.14, 80.71, 2, 1)
  62. MovementLoopAddLocation(NPC, 35.1, 3.14, 80.71, 2, MakeRandomInt(20,33),"EcologyEmotes")
  63. MovementLoopAddLocation(NPC, 35.95, 3, 79.79, 2, 0)
  64. MovementLoopAddLocation(NPC, 34.75, 3, 78.57, 2, 0)
  65. MovementLoopAddLocation(NPC, 31.89, 3, 79.47, 2, 0)
  66. MovementLoopAddLocation(NPC, 25.06, 3, 83.17, 2, 0)
  67. MovementLoopAddLocation(NPC, 18.72, 3, 82.92, 2, 0)
  68. MovementLoopAddLocation(NPC, 14.91, 3, 80.02, 2, 0)
  69. MovementLoopAddLocation(NPC, 12.51, 3.00, 77.51, 2, 1)
  70. MovementLoopAddLocation(NPC, 12.51, 3.00, 77.51, 2, MakeRandomInt(20,33),"EcologyEmotes")
  71. end