asludgewalkerhatchling392601.lua 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asludgewalkerhatchling392601.lua
  3. Script Purpose : Waypoint Path for asludgewalkerhatchling392601.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:48:22
  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, -172.20, 0.03, 215.87, 2, math.random(12, 18))
  18. MovementLoopAddLocation(NPC, -174.03, 0.00, 216.77, 2, 0)
  19. MovementLoopAddLocation(NPC, -178.55, 0.01, 216.79, 2, math.random(12, 18))
  20. MovementLoopAddLocation(NPC, -176.41, 0.00, 217.04, 2, 0)
  21. MovementLoopAddLocation(NPC, -176.43, 0.00, 217.00, 2, math.random(12, 18))
  22. MovementLoopAddLocation(NPC, -176.82, 0.00, 215.65, 2, 0)
  23. MovementLoopAddLocation(NPC, -179.29, 0.04, 212.97, 2, 0)
  24. MovementLoopAddLocation(NPC, -181.90, 0.00, 208.01, 2, 0, "changegrid_Going_Down")
  25. MovementLoopAddLocation(NPC, -181.47, 0.00, 205.81, 2, math.random(12, 18))
  26. MovementLoopAddLocation(NPC, -181.93, 0.00, 207.92, 2, 0)
  27. MovementLoopAddLocation(NPC, -182.12, 0.00, 211.93, 2, 0, "changegrid_Going_Up")
  28. MovementLoopAddLocation(NPC, -181.47, 0.00, 212.85, 2, math.random(12, 18))
  29. MovementLoopAddLocation(NPC, -181.82, 0.00, 212.28, 2, 0)
  30. MovementLoopAddLocation(NPC, -182.54, 0.00, 206.52, 2, math.random(12, 18), "changegrid_Going_Down")
  31. MovementLoopAddLocation(NPC, -181.96, 0.00, 208.13, 2, 0)
  32. MovementLoopAddLocation(NPC, -179.47, 0.14, 211.62, 2, 0, "changegrid_Going_Up")
  33. MovementLoopAddLocation(NPC, -176.68, 0.16, 214.26, 2, 0)
  34. MovementLoopAddLocation(NPC, -173.40, 0.00, 216.26, 2, 0)
  35. MovementLoopAddLocation(NPC, -171.68, 0.00, 217.80, 2, 0)
  36. MovementLoopAddLocation(NPC, -171.66, 0.00, 217.79, 2, math.random(12, 18))
  37. MovementLoopAddLocation(NPC, -172.09, 0.00, 217.85, 2, 0)
  38. MovementLoopAddLocation(NPC, -176.21, 0.22, 214.13, 2, 0)
  39. MovementLoopAddLocation(NPC, -178.50, 0.14, 212.59, 2, 0)
  40. MovementLoopAddLocation(NPC, -181.06, 0.29, 209.31, 2, 0, "changegrid_Going_Down")
  41. MovementLoopAddLocation(NPC, -181.40, 0.01, 207.69, 2, math.random(12, 18))
  42. MovementLoopAddLocation(NPC, -181.53, 0.24, 209.09, 2, 0)
  43. MovementLoopAddLocation(NPC, -178.29, 0.11, 213.07, 2, 0, "changegrid_Going_Up")
  44. MovementLoopAddLocation(NPC, -174.45, 0.06, 215.53, 2, 0)
  45. MovementLoopAddLocation(NPC, -170.55, 0.00, 216.59, 2, 0)
  46. MovementLoopAddLocation(NPC, -168.50, 0.00, 217.96, 2, 0)
  47. MovementLoopAddLocation(NPC, -168.48, 0.00, 217.95, 2, math.random(12, 18))
  48. MovementLoopAddLocation(NPC, -169.91, 0.00, 216.67, 2, 0)
  49. MovementLoopAddLocation(NPC, -174.06, 0.04, 215.81, 2, 0)
  50. MovementLoopAddLocation(NPC, -175.97, 0.24, 214.11, 2, 0)
  51. MovementLoopAddLocation(NPC, -178.64, 0.14, 212.51, 2, 0)
  52. MovementLoopAddLocation(NPC, -180.06, 0.22, 210.30, 2, 0)
  53. MovementLoopAddLocation(NPC, -180.55, 0.09, 207.92, 2, 0, "changegrid_Going_Down")
  54. MovementLoopAddLocation(NPC, -181.28, 0.02, 206.22, 2, 0)
  55. MovementLoopAddLocation(NPC, -181.12, 0.23, 204.76, 2, 0)
  56. MovementLoopAddLocation(NPC, -181.06, 0.34, 203.70, 2, math.random(12, 18))
  57. MovementLoopAddLocation(NPC, -182.23, 0.00, 205.26, 2, 0)
  58. MovementLoopAddLocation(NPC, -180.92, 0.06, 207.72, 2, 0)
  59. MovementLoopAddLocation(NPC, -179.99, 0.07, 211.72, 2, 0, "changegrid_Going_Up")
  60. MovementLoopAddLocation(NPC, -177.57, 0.05, 214.54, 2, 0)
  61. MovementLoopAddLocation(NPC, -177.15, 0.00, 216.20, 2, 0)
  62. MovementLoopAddLocation(NPC, -175.73, 0.00, 216.80, 2, math.random(12, 18))
  63. MovementLoopAddLocation(NPC, -173.95, 0.00, 217.38, 2, 0)
  64. end
  65. --------------------------------------------------------------------------------------
  66. -- NPC Change Grid
  67. --------------------------------------------------------------------------------------
  68. function changegrid_Going_Up(NPC)
  69. SetGridID(NPC, 3053675711)
  70. end
  71. function changegrid_Going_Down(NPC)
  72. SetGridID(NPC, 1555937977)
  73. end