asludgewalkerhatchling392602.lua 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asludgewalkerhatchling392602.lua
  3. Script Purpose : Waypoint Path for asludgewalkerhatchling392602.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:48:26
  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, -178.58, 0.00, 214.77, 2, math.random(12, 18))
  18. MovementLoopAddLocation(NPC, -176.73, 0.03, 215.31, 2, 0)
  19. MovementLoopAddLocation(NPC, -173.44, 0.00, 216.91, 2, math.random(12, 18))
  20. MovementLoopAddLocation(NPC, -178.21, 0.02, 216.98, 2, 0)
  21. MovementLoopAddLocation(NPC, -179.51, 0.06, 216.84, 2, math.random(12, 18))
  22. MovementLoopAddLocation(NPC, -179.71, 0.03, 216.22, 2, 0)
  23. MovementLoopAddLocation(NPC, -181.62, 0.08, 215.03, 2, math.random(12, 18))
  24. MovementLoopAddLocation(NPC, -178.66, 0.00, 216.49, 2, 0)
  25. MovementLoopAddLocation(NPC, -174.69, 0.00, 216.74, 2, math.random(12, 18))
  26. MovementLoopAddLocation(NPC, -171.76, 0.00, 217.37, 2, 0)
  27. MovementLoopAddLocation(NPC, -169.62, 0.01, 218.07, 2, math.random(12, 18))
  28. MovementLoopAddLocation(NPC, -171.79, 0.00, 217.61, 2, 0)
  29. MovementLoopAddLocation(NPC, -173.13, 0.00, 216.21, 2, 0)
  30. MovementLoopAddLocation(NPC, -174.71, 0.06, 215.51, 2, 0)
  31. MovementLoopAddLocation(NPC, -175.58, 0.26, 214.18, 2, 0)
  32. MovementLoopAddLocation(NPC, -178.00, 0.13, 213.22, 2, 0)
  33. MovementLoopAddLocation(NPC, -179.40, 0.20, 211.27, 2, 0)
  34. MovementLoopAddLocation(NPC, -179.87, 0.47, 209.52, 2, 0, "changegrid_Going_Down")
  35. MovementLoopAddLocation(NPC, -181.12, 0.04, 207.34, 2, 0)
  36. MovementLoopAddLocation(NPC, -181.39, 0.18, 204.02, 2, 0)
  37. MovementLoopAddLocation(NPC, -182.39, 0.03, 200.31, 2, 0)
  38. MovementLoopAddLocation(NPC, -182.98, 0.00, 203.01, 2, 0)
  39. MovementLoopAddLocation(NPC, -182.54, 0.00, 205.41, 2, 0)
  40. MovementLoopAddLocation(NPC, -182.14, 0.24, 208.92, 2, 0)
  41. MovementLoopAddLocation(NPC, -180.13, 0.03, 212.33, 2, 0, "changegrid_Going_Up")
  42. MovementLoopAddLocation(NPC, -177.73, 0.06, 214.24, 2, 0)
  43. MovementLoopAddLocation(NPC, -176.43, 0.00, 216.09, 2, math.random(12, 18))
  44. MovementLoopAddLocation(NPC, -174.03, 0.01, 216.04, 2, 0)
  45. MovementLoopAddLocation(NPC, -168.81, 0.00, 217.72, 2, math.random(12, 18))
  46. MovementLoopAddLocation(NPC, -172.43, 0.00, 216.77, 2, 0)
  47. MovementLoopAddLocation(NPC, -174.37, 0.04, 215.80, 2, 0)
  48. end
  49. --------------------------------------------------------------------------------------
  50. -- NPC Change Grid
  51. --------------------------------------------------------------------------------------
  52. function changegrid_Going_Up(NPC)
  53. SetGridID(NPC, 3053675711)
  54. end
  55. function changegrid_Going_Down(NPC)
  56. SetGridID(NPC, 1555937977)
  57. end