9
3

asludgewalkerhatchling392586.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asludgewalkerhatchling392586.lua
  3. Script Purpose : Waypoint Path for asludgewalkerhatchling392586.lua
  4. Script Author : Rylec
  5. Script Date : 09-15-2019 07:36:56
  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, -180.06, 1.84, 7.60, 2, math.random(12, 18))
  18. MovementLoopAddLocation(NPC, -179.93, 1.22, 15.89, 2, math.random(12, 18))
  19. -- MovementLoopAddLocation(NPC, -180.16, 1.22, 17.04, 2, 0)
  20. -- MovementLoopAddLocation(NPC, -180.16, 1.22, 17.01, 2, 0)
  21. MovementLoopAddLocation(NPC, -179.34, 1.22, 14.84, 2, math.random(12, 18))
  22. MovementLoopAddLocation(NPC, -179.10, 1.54, 13.09, 2, 0)
  23. MovementLoopAddLocation(NPC, -178.90, 1.63, 10.02, 2, 0)
  24. MovementLoopAddLocation(NPC, -177.90, 1.98, 7.70, 2, 0)
  25. MovementLoopAddLocation(NPC, -177.39, 1.97, 6.95, 2, 0, "changegrid_Going_Up")
  26. MovementLoopAddLocation(NPC, -176.66, 1.35, 4.99, 2, 0)
  27. MovementLoopAddLocation(NPC, -173.48, 1.26, 1.25, 2, math.random(12, 18))
  28. MovementLoopAddLocation(NPC, -177.77, 1.30, 5.76, 2, 0)
  29. MovementLoopAddLocation(NPC, -180.01, 1.67, 6.82, 2, math.random(6, 8))
  30. -- MovementLoopAddLocation(NPC, -180.01, 1.64, 6.77, 2, 0)
  31. MovementLoopAddLocation(NPC, -179.98, 1.26, 5.36, 2, math.random(12, 18))
  32. -- MovementLoopAddLocation(NPC, -180.05, 1.64, 8.88, 2, 0, "changegrid_Going_Down")
  33. -- MovementLoopAddLocation(NPC, -179.81, 1.84, 7.33, 2, math.random(12, 18))
  34. -- MovementLoopAddLocation(NPC, -177.75, 1.31, 5.95, 2, 0, "changegrid_Going_Up")
  35. MovementLoopAddLocation(NPC, -174.05, 1.27, 1.66, 2, math.random(12, 18))
  36. MovementLoopAddLocation(NPC, -172.07, 1.27, -0.66, 2, 0)
  37. MovementLoopAddLocation(NPC, -172.05, 1.27, -0.66, 2, math.random(12, 18))
  38. MovementLoopAddLocation(NPC, -176.34, 1.32, 4.20, 2, math.random(12, 18))
  39. MovementLoopAddLocation(NPC, -176.90, 1.43, 5.87, 2, 0)
  40. MovementLoopAddLocation(NPC, -177.50, 2.05, 7.56, 2, 0, "changegrid_Going_Down")
  41. MovementLoopAddLocation(NPC, -178.97, 1.64, 9.41, 2, 0)
  42. MovementLoopAddLocation(NPC, -179.42, 1.82, 11.00, 2, 0)
  43. MovementLoopAddLocation(NPC, -180.03, 1.60, 12.48, 2, 0)
  44. MovementLoopAddLocation(NPC, -180.09, 1.22, 14.86, 2, math.random(12, 18))
  45. end
  46. --------------------------------------------------------------------------------------
  47. -- NPC Change Grid
  48. --------------------------------------------------------------------------------------
  49. function changegrid_Going_Up(NPC)
  50. SetGridID(NPC, 4000206445)
  51. end
  52. function changegrid_Going_Down(NPC)
  53. SetGridID(NPC, 2981397110)
  54. end