9
3

atrashhopper393131.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393131.lua
  3. Script Purpose : Waypoint Path for atrashhopper393131.lua
  4. Script Author : Rylec
  5. Script Date : 09-22-2019 05:03:08
  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.49, 1.22, 60.02, 2, math.random(8, 18))
  18. MovementLoopAddLocation(NPC, -179.92, 1.22, 55.76, 2, 0)
  19. MovementLoopAddLocation(NPC, -180.34, 1.22, 54.32, 2, 0)
  20. MovementLoopAddLocation(NPC, -180.32, 1.22, 54.22, 2, math.random(8, 18))
  21. MovementLoopAddLocation(NPC, -180.05, 1.58, 53.15, 2, 0)
  22. MovementLoopAddLocation(NPC, -179.14, 1.58, 52.87, 2, math.random(8, 18))
  23. MovementLoopAddLocation(NPC, -180.32, 1.24, 56.12, 2, 0)
  24. MovementLoopAddLocation(NPC, -178.32, 1.24, 59.21, 2, 0)
  25. MovementLoopAddLocation(NPC, -178.16, 1.23, 59.25, 2, math.random(8, 18))
  26. MovementLoopAddLocation(NPC, -176.72, 1.22, 60.02, 2, 0)
  27. MovementLoopAddLocation(NPC, -175.28, 1.22, 61.22, 2, math.random(8, 18))
  28. MovementLoopAddLocation(NPC, -179.36, 1.22, 55.06, 2, math.random(8, 18))
  29. MovementLoopAddLocation(NPC, -178.82, 1.22, 55.94, 2, 0)
  30. MovementLoopAddLocation(NPC, -176.59, 1.23, 57.68, 2, 0)
  31. MovementLoopAddLocation(NPC, -175.44, 1.22, 60.25, 2, 0)
  32. MovementLoopAddLocation(NPC, -175.34, 1.22, 60.24, 2, math.random(8, 18))
  33. MovementLoopAddLocation(NPC, -174.29, 1.22, 60.10, 2, 0)
  34. MovementLoopAddLocation(NPC, -172.46, 1.78, 60.58, 2, 0, "changegrid_Going_Up")
  35. MovementLoopAddLocation(NPC, -169.50, 1.22, 61.64, 2, math.random(8, 18))
  36. MovementLoopAddLocation(NPC, -171.63, 1.78, 61.13, 2, 0)
  37. MovementLoopAddLocation(NPC, -174.75, 1.22, 61.31, 2, 0, "changegrid_Going_Down")
  38. MovementLoopAddLocation(NPC, -180.37, 1.30, 57.49, 2, 0)
  39. MovementLoopAddLocation(NPC, -180.74, 1.30, 56.61, 2, math.random(8, 18))
  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