asludgewalkerhatchling392603.lua 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asludgewalkerhatchling392603.lua
  3. Script Purpose : Waypoint Path for asludgewalkerhatchling392603.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:48:30
  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, -182.12, 0.24, 209.16, 2, math.random(12, 18))
  18. MovementLoopAddLocation(NPC, -181.54, 0.00, 205.88, 2, 0)
  19. MovementLoopAddLocation(NPC, -181.94, 0.00, 204.09, 2, math.random(12, 18))
  20. MovementLoopAddLocation(NPC, -182.17, 0.00, 206.76, 2, 0)
  21. MovementLoopAddLocation(NPC, -181.10, 0.28, 208.80, 2, 0)
  22. MovementLoopAddLocation(NPC, -179.94, 0.09, 211.41, 2, 0, "changegrid_Going_Up")
  23. MovementLoopAddLocation(NPC, -177.31, 0.13, 213.87, 2, 0)
  24. MovementLoopAddLocation(NPC, -175.77, 0.00, 216.35, 2, 0)
  25. MovementLoopAddLocation(NPC, -173.50, 0.00, 216.79, 2, math.random(12, 18))
  26. MovementLoopAddLocation(NPC, -176.02, 0.02, 215.62, 2, 0)
  27. MovementLoopAddLocation(NPC, -178.17, 0.07, 213.66, 2, 0)
  28. MovementLoopAddLocation(NPC, -179.73, 0.00, 213.15, 2, math.random(12, 18))
  29. MovementLoopAddLocation(NPC, -180.25, 0.00, 214.62, 2, 0)
  30. MovementLoopAddLocation(NPC, -179.62, 0.07, 216.81, 2, math.random(12, 18))
  31. MovementLoopAddLocation(NPC, -176.39, 0.00, 216.87, 2, 0)
  32. MovementLoopAddLocation(NPC, -172.71, 0.00, 217.05, 2, 0)
  33. MovementLoopAddLocation(NPC, -168.85, 0.03, 215.84, 2, math.random(12, 18))
  34. MovementLoopAddLocation(NPC, -171.25, 0.00, 216.36, 2, 0)
  35. MovementLoopAddLocation(NPC, -179.44, 0.00, 215.07, 2, 0)
  36. MovementLoopAddLocation(NPC, -179.46, 0.00, 215.03, 2, math.random(12, 18))
  37. MovementLoopAddLocation(NPC, -179.91, 0.00, 213.88, 2, 0)
  38. MovementLoopAddLocation(NPC, -180.27, 0.05, 211.72, 2, 0)
  39. MovementLoopAddLocation(NPC, -181.34, 0.26, 209.36, 2, math.random(12, 18), "changegrid_Going_Down")
  40. MovementLoopAddLocation(NPC, -182.04, 0.00, 207.68, 2, 0)
  41. MovementLoopAddLocation(NPC, -182.05, 0.00, 205.12, 2, 0)
  42. MovementLoopAddLocation(NPC, -182.98, 0.00, 201.20, 2, 0)
  43. MovementLoopAddLocation(NPC, -183.12, 0.00, 207.01, 2, 0)
  44. MovementLoopAddLocation(NPC, -183.46, 0.24, 209.16, 2, 0)
  45. end
  46. --------------------------------------------------------------------------------------
  47. -- NPC Change Grid
  48. --------------------------------------------------------------------------------------
  49. function changegrid_Going_Up(NPC)
  50. SetGridID(NPC, 3053675711)
  51. end
  52. function changegrid_Going_Down(NPC)
  53. SetGridID(NPC, 1555937977)
  54. end