atrashhopper393142.lua 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393142.lua
  3. Script Purpose : Waypoint Path for atrashhopper393142.lua
  4. Script Author : Rylec
  5. Script Date : 09-22-2019 05:03:15
  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, -172.56, 1.78, 61.25, 2, math.random(8, 18))
  18. MovementLoopAddLocation(NPC, -169.91, 1.22, 61.12, 2, 0)
  19. MovementLoopAddLocation(NPC, -169.50, 1.28, 59.63, 2, 0)
  20. MovementLoopAddLocation(NPC, -173.47, 1.72, 58.77, 2, 0, "changegrid_Going_Down")
  21. MovementLoopAddLocation(NPC, -175.35, 1.33, 57.62, 2, 0)
  22. MovementLoopAddLocation(NPC, -176.55, 1.46, 55.43, 2, 0)
  23. MovementLoopAddLocation(NPC, -177.46, 1.82, 52.98, 2, 0)
  24. MovementLoopAddLocation(NPC, -178.90, 1.60, 52.12, 2, 0)
  25. MovementLoopAddLocation(NPC, -179.34, 1.34, 51.48, 2, 0)
  26. MovementLoopAddLocation(NPC, -179.38, 1.34, 51.28, 2, math.random(8, 18))
  27. MovementLoopAddLocation(NPC, -178.93, 1.34, 44.85, 2, math.random(8, 18))
  28. MovementLoopAddLocation(NPC, -179.45, 1.26, 58.31, 2, 0)
  29. MovementLoopAddLocation(NPC, -179.45, 1.28, 58.62, 2, math.random(8, 18))
  30. MovementLoopAddLocation(NPC, -177.30, 1.22, 57.29, 2, math.random(8, 18))
  31. MovementLoopAddLocation(NPC, -178.00, 1.24, 55.89, 2, 0)
  32. MovementLoopAddLocation(NPC, -178.18, 1.34, 50.89, 2, 0)
  33. MovementLoopAddLocation(NPC, -179.07, 1.34, 49.36, 2, 0)
  34. MovementLoopAddLocation(NPC, -180.17, 1.34, 46.87, 2, math.random(8, 18))
  35. MovementLoopAddLocation(NPC, -178.48, 1.34, 50.73, 2, 0)
  36. MovementLoopAddLocation(NPC, -177.61, 1.79, 52.43, 2, 0)
  37. MovementLoopAddLocation(NPC, -177.41, 1.29, 56.01, 2, 0)
  38. MovementLoopAddLocation(NPC, -175.61, 1.28, 57.90, 2, 0)
  39. MovementLoopAddLocation(NPC, -172.35, 1.86, 59.41, 2, 0, "changegrid_Going_Up")
  40. end
  41. --------------------------------------------------------------------------------------
  42. -- NPC Change Grid
  43. --------------------------------------------------------------------------------------
  44. function changegrid_Going_Up(NPC)
  45. SetGridID(NPC, 3098524280)
  46. end
  47. function changegrid_Going_Down(NPC)
  48. SetGridID(NPC, 2981397110)
  49. end