adiseasedratonga1586518.lua 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga1586518.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga1586518.lua
  4. Script Author : Rylec
  5. Script Date : 09-22-2019 07:09:04
  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, -175.61, 1.27, 58.18, 2, math.random(10, 20))
  18. MovementLoopAddLocation(NPC, -174.18, 1.30, 58.88, 2, 0)
  19. MovementLoopAddLocation(NPC, -172.81, 1.88, 59.25, 2, 0, "changegrid_Going_Up")
  20. MovementLoopAddLocation(NPC, -169.95, 1.22, 60.40, 2, 0)
  21. MovementLoopAddLocation(NPC, -169.24, 1.22, 61.21, 2, math.random(10, 20))
  22. MovementLoopAddLocation(NPC, -172.24, 1.78, 60.50, 2, 0)
  23. MovementLoopAddLocation(NPC, -173.74, 1.31, 59.90, 2, math.random(10, 20), "changegrid_Going_Down")
  24. MovementLoopAddLocation(NPC, -176.78, 1.33, 56.23, 2, 0)
  25. MovementLoopAddLocation(NPC, -176.90, 2.01, 53.16, 2, 0)
  26. MovementLoopAddLocation(NPC, -178.89, 1.34, 50.01, 2, 0)
  27. -- MovementLoopAddLocation(NPC, -178.86, 1.34, 45.04, 2, 0)
  28. MovementLoopAddLocation(NPC, -178.80, 1.23, 54.19, 2, 0)
  29. MovementLoopAddLocation(NPC, -178.05, 1.22, 56.49, 2, 0)
  30. MovementLoopAddLocation(NPC, -178.05, 1.22, 56.49, 2, 0)
  31. MovementLoopAddLocation(NPC, -177.82, 1.22, 56.63, 2, math.random(10, 20))
  32. -- MovementLoopAddLocation(NPC, -177.24, 1.24, 56.89, 2, 0)
  33. MovementLoopAddLocation(NPC, -172.38, 1.78, 60.93, 2, 0, "changegrid_Going_Up")
  34. MovementLoopAddLocation(NPC, -174.97, 1.22, 61.04, 2, 0, "changegrid_Going_Down")
  35. MovementLoopAddLocation(NPC, -179.02, 1.30, 59.36, 2, 0)
  36. MovementLoopAddLocation(NPC, -179.05, 1.29, 59.18, 2, math.random(10, 20))
  37. MovementLoopAddLocation(NPC, -176.27, 1.22, 59.97, 2, 0)
  38. MovementLoopAddLocation(NPC, -172.55, 1.80, 60.02, 2, 0, "changegrid_Going_Up")
  39. MovementLoopAddLocation(NPC, -170.31, 1.22, 61.61, 2, math.random(10, 20))
  40. MovementLoopAddLocation(NPC, -172.34, 1.78, 60.34, 2, 0)
  41. MovementLoopAddLocation(NPC, -180.22, 1.22, 55.52, 2, 0, "changegrid_Going_Down")
  42. MovementLoopAddLocation(NPC, -180.23, 1.22, 55.35, 2, math.random(10, 20))
  43. MovementLoopAddLocation(NPC, -179.15, 1.34, 48.15, 2, 0)
  44. MovementLoopAddLocation(NPC, -178.58, 1.64, 52.81, 2, 0)
  45. MovementLoopAddLocation(NPC, -177.28, 1.30, 56.05, 2, 0)
  46. end
  47. --------------------------------------------------------------------------------------
  48. -- NPC Change Grid
  49. --------------------------------------------------------------------------------------
  50. function changegrid_Going_Up(NPC)
  51. SetGridID(NPC, 3098524280)
  52. end
  53. function changegrid_Going_Down(NPC)
  54. SetGridID(NPC, 2981397110)
  55. end