9
3

ASewerSlime391991.lua 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/ASewerSlime391991.lua
  3. Script Purpose : Waypoint Path for ASewerSlime391991.lua
  4. Script Author : Rylec
  5. Script Date : 09-17-2019 05:52:01
  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, -173.79, 1.26, 0.79, 2, math.random(10, 22))
  18. MovementLoopAddLocation(NPC, -176.14, 1.32, 3.99, 2, 0)
  19. MovementLoopAddLocation(NPC, -176.90, 1.44, 6.01, 2, 0)
  20. MovementLoopAddLocation(NPC, -177.31, 2.09, 7.67, 2, 0, "changegrid_Going_Down")
  21. MovementLoopAddLocation(NPC, -179.88, 1.64, 11.92, 2, 0)
  22. MovementLoopAddLocation(NPC, -180.07, 1.60, 6.70, 2, math.random(10, 22), "changegrid_Going_Up")
  23. MovementLoopAddLocation(NPC, -179.17, 1.84, 7.73, 2, math.random(10, 22), "changegrid_Going_Down")
  24. MovementLoopAddLocation(NPC, -179.81, 1.82, 10.96, 2, 0)
  25. MovementLoopAddLocation(NPC, -180.57, 1.22, 14.57, 2, math.random(10, 22))
  26. MovementLoopAddLocation(NPC, -177.06, 1.41, 5.97, 2, 0, "changegrid_Going_Up")
  27. MovementLoopAddLocation(NPC, -174.17, 1.41, 2.93, 2, 0)
  28. MovementLoopAddLocation(NPC, -171.86, 1.85, 2.62, 2, 0)
  29. MovementLoopAddLocation(NPC, -169.24, 1.34, 0.99, 2, math.random(10, 22))
  30. MovementLoopAddLocation(NPC, -169.72, 1.34, 1.77, 2, 0)
  31. MovementLoopAddLocation(NPC, -171.40, 1.75, 2.18, 2, 0)
  32. MovementLoopAddLocation(NPC, -172.52, 2.03, 3.15, 2, 0)
  33. MovementLoopAddLocation(NPC, -175.38, 1.37, 3.85, 2, 0)
  34. MovementLoopAddLocation(NPC, -176.69, 1.50, 6.25, 2, 0)
  35. MovementLoopAddLocation(NPC, -178.91, 1.81, 10.78, 2, 0, "changegrid_Going_Down")
  36. MovementLoopAddLocation(NPC, -179.28, 1.22, 15.14, 2, 0)
  37. MovementLoopAddLocation(NPC, -179.91, 1.22, 17.49, 2, math.random(10, 22))
  38. MovementLoopAddLocation(NPC, -179.15, 1.22, 15.83, 2, 0)
  39. MovementLoopAddLocation(NPC, -178.83, 1.62, 9.94, 2, 0)
  40. MovementLoopAddLocation(NPC, -177.76, 2.01, 7.98, 2, 0)
  41. MovementLoopAddLocation(NPC, -176.01, 1.48, 5.29, 2, 0, "changegrid_Going_Up")
  42. MovementLoopAddLocation(NPC, -174.41, 1.46, 3.56, 2, 0)
  43. MovementLoopAddLocation(NPC, -169.94, 1.34, 1.54, 2, 0)
  44. MovementLoopAddLocation(NPC, -168.87, 1.34, -0.38, 2, math.random(10, 22))
  45. MovementLoopAddLocation(NPC, -169.97, 1.34, -0.10, 2, 0)
  46. MovementLoopAddLocation(NPC, -170.85, 1.54, -0.28, 2, 0)
  47. MovementLoopAddLocation(NPC, -172.14, 1.58, 0.86, 2, 0)
  48. MovementLoopAddLocation(NPC, -173.90, 1.26, 0.54, 2, 0)
  49. MovementLoopAddLocation(NPC, -176.10, 1.26, 2.11, 2, 0)
  50. MovementLoopAddLocation(NPC, -177.97, 1.30, 6.06, 2, 0)
  51. MovementLoopAddLocation(NPC, -178.41, 1.89, 7.17, 2, 0)
  52. MovementLoopAddLocation(NPC, -178.20, 1.26, 4.95, 2, 0)
  53. MovementLoopAddLocation(NPC, -176.97, 1.26, 3.46, 2, 0)
  54. MovementLoopAddLocation(NPC, -175.93, 1.26, 1.59, 2, 0)
  55. MovementLoopAddLocation(NPC, -175.06, 1.26, 0.83, 2, math.random(10, 22))
  56. end
  57. --------------------------------------------------------------------------------------
  58. -- NPC Change Grid
  59. --------------------------------------------------------------------------------------
  60. function changegrid_Going_Up(NPC)
  61. SetGridID(NPC, 4000206445)
  62. end
  63. function changegrid_Going_Down(NPC)
  64. SetGridID(NPC, 2981397110)
  65. end