adiseasedratonga391917.lua 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391917.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391917.lua
  4. Script Author : Rylec
  5. Script Date : 09-22-2019 07:09:01
  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, -178.06, 1.31, 60.48, 2, math.random(12, 22))
  18. MovementLoopAddLocation(NPC, -174.97, 1.26, 61.69, 2, 0)
  19. MovementLoopAddLocation(NPC, -171.90, 1.79, 62.13, 2, 0, "changegrid_Going_Up")
  20. MovementLoopAddLocation(NPC, -172.19, 1.79, 62.11, 2, math.random(12, 22))
  21. MovementLoopAddLocation(NPC, -174.44, 1.25, 61.82, 2, 0, "changegrid_Going_Down")
  22. MovementLoopAddLocation(NPC, -179.22, 1.22, 57.29, 2, math.random(12, 22))
  23. MovementLoopAddLocation(NPC, -180.05, 1.58, 53.14, 2, 0)
  24. MovementLoopAddLocation(NPC, -180.29, 1.34, 49.67, 2, 0)
  25. MovementLoopAddLocation(NPC, -180.12, 1.27, 57.41, 2, 0)
  26. MovementLoopAddLocation(NPC, -177.67, 1.25, 59.94, 2, 0)
  27. MovementLoopAddLocation(NPC, -176.57, 1.22, 60.13, 2, math.random(12, 22))
  28. MovementLoopAddLocation(NPC, -178.66, 1.23, 54.58, 2, 0)
  29. MovementLoopAddLocation(NPC, -179.17, 1.34, 51.07, 2, 0)
  30. MovementLoopAddLocation(NPC, -179.88, 1.34, 48.30, 2, 0)
  31. MovementLoopAddLocation(NPC, -179.25, 1.58, 52.19, 2, 0)
  32. MovementLoopAddLocation(NPC, -178.25, 1.29, 54.21, 2, 0)
  33. MovementLoopAddLocation(NPC, -177.83, 1.28, 55.50, 2, 0)
  34. MovementLoopAddLocation(NPC, -175.99, 1.25, 58.07, 2, 0)
  35. MovementLoopAddLocation(NPC, -173.67, 1.47, 59.27, 2, 0)
  36. end
  37. --------------------------------------------------------------------------------------
  38. -- NPC Change Grid
  39. --------------------------------------------------------------------------------------
  40. function changegrid_Going_Up(NPC)
  41. SetGridID(NPC, 3098524280)
  42. end
  43. function changegrid_Going_Down(NPC)
  44. SetGridID(NPC, 2981397110)
  45. end