atrashhopper393122.lua 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393122.lua
  3. Script Purpose : Waypoint Path for atrashhopper393122.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46:27
  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.59, 0.00, 205.63, 2, 0, "changegrid_Going_Down")
  18. MovementLoopAddLocation(NPC, -182.59, 0.00, 205.50, 2, math.random(8, 18))
  19. MovementLoopAddLocation(NPC, -181.81, 0.24, 208.99, 2, 0)
  20. MovementLoopAddLocation(NPC, -178.68, 0.19, 212.03, 2, 0, "changegrid_Going_Up")
  21. MovementLoopAddLocation(NPC, -176.78, 0.00, 216.22, 2, 0)
  22. MovementLoopAddLocation(NPC, -175.60, 0.00, 216.91, 2, math.random(8, 18))
  23. MovementLoopAddLocation(NPC, -174.58, 0.00, 217.70, 2, 0)
  24. MovementLoopAddLocation(NPC, -173.38, 0.00, 217.76, 2, math.random(8, 18))
  25. MovementLoopAddLocation(NPC, -172.47, 0.00, 217.84, 2, 0)
  26. MovementLoopAddLocation(NPC, -172.56, 0.00, 217.83, 2, math.random(8, 18))
  27. MovementLoopAddLocation(NPC, -173.70, 0.00, 217.85, 2, 0)
  28. MovementLoopAddLocation(NPC, -176.50, 0.00, 216.87, 2, 0)
  29. MovementLoopAddLocation(NPC, -177.47, 0.00, 216.82, 2, math.random(8, 18))
  30. MovementLoopAddLocation(NPC, -179.07, 0.06, 217.03, 2, 0)
  31. MovementLoopAddLocation(NPC, -180.55, 0.13, 216.53, 2, math.random(8, 18))
  32. MovementLoopAddLocation(NPC, -170.28, 0.00, 217.83, 2, 0)
  33. MovementLoopAddLocation(NPC, -174.49, 0.00, 216.98, 2, 0)
  34. MovementLoopAddLocation(NPC, -174.50, 0.00, 216.93, 2, math.random(8, 18))
  35. MovementLoopAddLocation(NPC, -175.95, 0.08, 215.02, 2, 0)
  36. MovementLoopAddLocation(NPC, -179.92, 0.09, 211.57, 2, 0)
  37. end
  38. --------------------------------------------------------------------------------------
  39. -- NPC Change Grid
  40. --------------------------------------------------------------------------------------
  41. function changegrid_Going_Up(NPC)
  42. SetGridID(NPC, 3053675711)
  43. end
  44. function changegrid_Going_Down(NPC)
  45. SetGridID(NPC, 1555937977)
  46. end