9
3

atrashhopper393119.lua 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393119.lua
  3. Script Purpose : Waypoint Path for atrashhopper393119.lua
  4. Script Author : Rylec
  5. Script Date : 09-13-2019 02:53:48
  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. end
  14. function respawn(NPC)
  15. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, -175.98, 1.26, 1.38, 2, math.random(8, 18))
  18. MovementLoopAddLocation(NPC, -173.76, 1.26, 0.23, 2, 0)
  19. MovementLoopAddLocation(NPC, -172.10, 1.58, -0.17, 2, math.random(8, 18))
  20. MovementLoopAddLocation(NPC, -174.09, 1.26, 0.93, 2, 0)
  21. MovementLoopAddLocation(NPC, -175.58, 1.30, 3.13, 2, 0)
  22. MovementLoopAddLocation(NPC, -176.60, 1.35, 4.83, 2, 0)
  23. MovementLoopAddLocation(NPC, -176.74, 1.42, 5.61, 2, 0)
  24. MovementLoopAddLocation(NPC, -178.18, 1.93, 7.38, 2, 0)
  25. MovementLoopAddLocation(NPC, -179.05, 1.63, 9.99, 2, 0)
  26. MovementLoopAddLocation(NPC, -179.04, 1.62, 9.87, 2, math.random(8, 18))
  27. MovementLoopAddLocation(NPC, -178.82, 1.26, 5.99, 2, 0)
  28. MovementLoopAddLocation(NPC, -179.08, 1.26, 4.63, 2, 0)
  29. MovementLoopAddLocation(NPC, -179.09, 1.26, 4.68, 2, math.random(8, 18))
  30. MovementLoopAddLocation(NPC, -179.17, 1.84, 7.77, 2, 0, "changegrid_Going_Down")
  31. MovementLoopAddLocation(NPC, -179.40, 1.82, 11.21, 2, 0)
  32. MovementLoopAddLocation(NPC, -179.05, 1.52, 13.12, 2, 0)
  33. MovementLoopAddLocation(NPC, -179.29, 1.22, 15.02, 2, 0)
  34. MovementLoopAddLocation(NPC, -179.64, 1.22, 15.79, 2, 0)
  35. -- MovementLoopAddLocation(NPC, -180.07, 1.22, 16.75, 2, 0)
  36. MovementLoopAddLocation(NPC, -180.08, 1.22, 16.43, 2, math.random(8, 18))
  37. MovementLoopAddLocation(NPC, -179.22, 1.22, 14.92, 2, 0)
  38. MovementLoopAddLocation(NPC, -178.88, 1.62, 9.92, 2, 0)
  39. MovementLoopAddLocation(NPC, -177.93, 1.98, 7.91, 2, 0, "changegrid_Going_Up")
  40. MovementLoopAddLocation(NPC, -176.80, 1.48, 6.33, 2, 0)
  41. MovementLoopAddLocation(NPC, -176.60, 1.44, 5.55, 2, 0)
  42. MovementLoopAddLocation(NPC, -174.38, 1.50, 3.84, 2, 0)
  43. MovementLoopAddLocation(NPC, -172.94, 1.88, 2.93, 2, 0)
  44. MovementLoopAddLocation(NPC, -171.87, 1.84, 2.60, 2, 0)
  45. -- MovementLoopAddLocation(NPC, -169.77, 1.34, -0.43, 2, 0)
  46. MovementLoopAddLocation(NPC, -169.84, 1.34, -0.45, 2, math.random(8, 18))
  47. MovementLoopAddLocation(NPC, -171.20, 1.58, 0.21, 2, 0)
  48. MovementLoopAddLocation(NPC, -172.25, 1.61, 1.17, 2, 0)
  49. MovementLoopAddLocation(NPC, -173.63, 1.34, 2.17, 2, 0)
  50. MovementLoopAddLocation(NPC, -174.93, 1.28, 2.22, 2, 0)
  51. MovementLoopAddLocation(NPC, -175.84, 1.26, 2.69, 2, 0)
  52. -- MovementLoopAddLocation(NPC, -177.17, 1.26, 3.82, 2, 0)
  53. MovementLoopAddLocation(NPC, -177.11, 1.26, 3.75, 2, math.random(8, 18))
  54. MovementLoopAddLocation(NPC, -173.85, 1.30, 1.94, 2, 0)
  55. MovementLoopAddLocation(NPC, -172.08, 1.70, 1.87, 2, 0)
  56. MovementLoopAddLocation(NPC, -171.13, 1.61, 1.09, 2, 0)
  57. MovementLoopAddLocation(NPC, -169.79, 1.34, 1.01, 2, 0)
  58. -- MovementLoopAddLocation(NPC, -168.96, 1.34, -0.38, 2, math.random(8, 18))
  59. -- MovementLoopAddLocation(NPC, -169.02, 1.34, -0.38, 2, 0)
  60. MovementLoopAddLocation(NPC, -170.14, 1.34, -0.12, 2, 0)
  61. MovementLoopAddLocation(NPC, -173.94, 1.26, 0.05, 2, 0)
  62. end
  63. --------------------------------------------------------------------------------------
  64. -- NPC Change Grid
  65. --------------------------------------------------------------------------------------
  66. function changegrid_Going_Up(NPC)
  67. SetGridID(NPC, 4000206445)
  68. end
  69. function changegrid_Going_Down(NPC)
  70. SetGridID(NPC, 2981397110)
  71. end