atrashhopper393126.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393126.lua
  3. Script Purpose : Waypoint Path for atrashhopper393126.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:26:46
  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, -183.77, 0.04, 163.59, 2, math.random(8, 18))
  18. MovementLoopAddLocation(NPC, -182.50, 0.00, 162.43, 2, 0)
  19. MovementLoopAddLocation(NPC, -181.76, 0.00, 158.78, 2, 0)
  20. MovementLoopAddLocation(NPC, -182.52, 0.00, 157.20, 2, math.random(8, 18))
  21. MovementLoopAddLocation(NPC, -182.09, 0.00, 167.00, 2, 0)
  22. MovementLoopAddLocation(NPC, -181.52, 0.00, 168.51, 2, math.random(8, 18))
  23. MovementLoopAddLocation(NPC, -181.54, 0.00, 167.41, 2, math.random(8, 18))
  24. MovementLoopAddLocation(NPC, -181.85, 0.00, 166.31, 2, math.random(8, 18))
  25. MovementLoopAddLocation(NPC, -182.32, 0.00, 163.65, 2, 0)
  26. MovementLoopAddLocation(NPC, -182.14, 0.24, 160.88, 2, 0)
  27. MovementLoopAddLocation(NPC, -183.24, 0.00, 157.74, 2, 0)
  28. MovementLoopAddLocation(NPC, -182.69, 0.00, 156.38, 2, math.random(8, 18))
  29. MovementLoopAddLocation(NPC, -183.05, 0.00, 157.66, 2, 0)
  30. MovementLoopAddLocation(NPC, -184.24, 0.08, 159.00, 2, math.random(8, 18))
  31. MovementLoopAddLocation(NPC, -182.88, 0.00, 162.16, 2, 0)
  32. MovementLoopAddLocation(NPC, -182.43, 0.00, 172.60, 2, 0, "changegrid_Going_Up")
  33. MovementLoopAddLocation(NPC, -182.41, 0.00, 172.60, 2, math.random(8, 18))
  34. MovementLoopAddLocation(NPC, -182.82, 0.00, 165.72, 2, 0, "changegrid_Going_Down")
  35. end
  36. --------------------------------------------------------------------------------------
  37. -- NPC Change Grid
  38. --------------------------------------------------------------------------------------
  39. function changegrid_Going_Up(NPC)
  40. SetGridID(NPC, 667331216)
  41. end
  42. function changegrid_Going_Down(NPC)
  43. SetGridID(NPC, 3049532766)
  44. end