atrashhopper393121.lua 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393121.lua
  3. Script Purpose : Waypoint Path for atrashhopper393121.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46:24
  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, -171.72, 0.00, 217.3, 2, math.random(8, 18))
  18. MovementLoopAddLocation(NPC, -174.02, 0.02, 216.01, 2, 0)
  19. MovementLoopAddLocation(NPC, -175.34, 0.24, 214.40, 2, 0)
  20. MovementLoopAddLocation(NPC, -177.72, 0.19, 213.03, 2, 0)
  21. MovementLoopAddLocation(NPC, -180.31, 0.39, 209.56, 2, 0, "changegrid_Going_Down")
  22. MovementLoopAddLocation(NPC, -180.83, 0.07, 207.45, 2, 0)
  23. MovementLoopAddLocation(NPC, -182.33, 0.00, 204.23, 2, 0)
  24. MovementLoopAddLocation(NPC, -182.66, 0.24, 199.51, 2, math.random(8, 18))
  25. MovementLoopAddLocation(NPC, -182.03, 0.00, 201.38, 2, 0)
  26. MovementLoopAddLocation(NPC, -182.04, 0.00, 205.58, 2, 0)
  27. MovementLoopAddLocation(NPC, -180.30, 0.39, 209.13, 2, 0)
  28. MovementLoopAddLocation(NPC, -179.74, 0.09, 211.80, 2, 0, "changegrid_Going_Up")
  29. MovementLoopAddLocation(NPC, -176.76, 0.02, 215.30, 2, 0)
  30. MovementLoopAddLocation(NPC, -175.65, 0.00, 216.78, 2, math.random(8, 18))
  31. MovementLoopAddLocation(NPC, -175.95, 0.00, 216.24, 2, 0)
  32. MovementLoopAddLocation(NPC, -179.76, 0.05, 212.40, 2, 0)
  33. MovementLoopAddLocation(NPC, -181.65, 0.00, 207.51, 2, 0, "changegrid_Going_Down")
  34. MovementLoopAddLocation(NPC, -181.92, 0.00, 204.71, 2, math.random(8, 18))
  35. MovementLoopAddLocation(NPC, -182.50, 0.00, 202.20, 2, math.random(8, 18))
  36. MovementLoopAddLocation(NPC, -184.48, 0.12, 207.20, 2, math.random(8, 18))
  37. MovementLoopAddLocation(NPC, -184.26, 0.31, 209.09, 2, 0)
  38. MovementLoopAddLocation(NPC, -184.69, 0.28, 211.31, 2, 0, "changegrid_Going_Up")
  39. MovementLoopAddLocation(NPC, -183.85, 0.22, 212.73, 2, 0)
  40. MovementLoopAddLocation(NPC, -181.77, 0.01, 213.86, 2, math.random(8, 18))
  41. MovementLoopAddLocation(NPC, -182.51, 0.24, 209.53, 2, 0, "changegrid_Going_Down")
  42. MovementLoopAddLocation(NPC, -179.95, 0.12, 210.98, 2, 0, "changegrid_Going_Up")
  43. MovementLoopAddLocation(NPC, -177.29, 0.11, 214.05, 2, 0)
  44. MovementLoopAddLocation(NPC, -172.45, 0.02, 216.01, 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