9
3

asewagerat392418.lua 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392418.lua
  3. Script Purpose : Waypoint Path for asewagerat392418.lua
  4. Script Author : Rylec
  5. Script Date : 09-17-2019 07:25:42
  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, -168.95, 1.34, 0.58, 2, math.random(10, 18))
  18. MovementLoopAddLocation(NPC, -171.18, 1.61, 1.10, 2, 0)
  19. MovementLoopAddLocation(NPC, -173.72, 1.44, 2.86, 2, 0)
  20. MovementLoopAddLocation(NPC, -179.54, 1.26, 4.51, 2, 0)
  21. MovementLoopAddLocation(NPC, -180.70, 1.31, 5.86, 2, math.random(10, 18))
  22. MovementLoopAddLocation(NPC, -177.17, 1.26, 1.75, 2, 4)
  23. MovementLoopAddLocation(NPC, -177.95, 1.29, 5.94, 2, 0)
  24. MovementLoopAddLocation(NPC, -178.39, 1.63, 9.16, 2, 0, "changegrid_Going_Down")
  25. MovementLoopAddLocation(NPC, -179.18, 1.62, 12.24, 2, math.random(10, 18))
  26. MovementLoopAddLocation(NPC, -177.87, 1.99, 8.08, 2, 0)
  27. MovementLoopAddLocation(NPC, -177.80, 2.04, 7.85, 2, math.random(10, 18))
  28. MovementLoopAddLocation(NPC, -175.93, 1.39, 4.57, 2, 0, "changegrid_Going_Up")
  29. MovementLoopAddLocation(NPC, -173.55, 1.62, 3.57, 2, 0)
  30. MovementLoopAddLocation(NPC, -172.03, 1.75, 2.18, 2, 0)
  31. MovementLoopAddLocation(NPC, -169.55, 1.34, 0.53, 2, math.random(10, 18))
  32. MovementLoopAddLocation(NPC, -172.92, 1.63, 1.84, 2, 0)
  33. MovementLoopAddLocation(NPC, -175.02, 1.52, 4.60, 2, 0)
  34. MovementLoopAddLocation(NPC, -176.72, 1.50, 6.30, 2, 0)
  35. MovementLoopAddLocation(NPC, -177.44, 2.06, 7.67, 2, 0, "changegrid_Going_Down")
  36. MovementLoopAddLocation(NPC, -178.59, 1.64, 10.18, 2, 0)
  37. MovementLoopAddLocation(NPC, -179.99, 1.60, 12.52, 2, math.random(10, 18))
  38. MovementLoopAddLocation(NPC, -179.19, 1.82, 11.13, 2, 0)
  39. MovementLoopAddLocation(NPC, -177.98, 1.97, 7.82, 2, 0)
  40. MovementLoopAddLocation(NPC, -176.67, 1.49, 6.04, 2, 0, "changegrid_Going_Up")
  41. MovementLoopAddLocation(NPC, -173.42, 1.63, 3.31, 2, 0)
  42. MovementLoopAddLocation(NPC, -172.44, 1.90, 2.76, 2, 0)
  43. MovementLoopAddLocation(NPC, -169.62, 1.37, 1.98, 2, 0)
  44. end
  45. --------------------------------------------------------------------------------------
  46. -- NPC Change Grid
  47. --------------------------------------------------------------------------------------
  48. function changegrid_Going_Up(NPC)
  49. SetGridID(NPC, 4000206445)
  50. end
  51. function changegrid_Going_Down(NPC)
  52. SetGridID(NPC, 2981397110)
  53. end