9
3

adiseasedratonga1586524.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga1586524.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga1586524.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:45:39
  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, -181.64, 0.24, 209.08, 2, math.random(12, 22), "changegrid_Going_Down")
  18. MovementLoopAddLocation(NPC, -180.60, 0.01, 211.85, 2, math.random(12, 22), "changegrid_Going_Up")
  19. -- MovementLoopAddLocation(NPC, -180.04, 0.06, 211.97, 2, 0)
  20. MovementLoopAddLocation(NPC, -177.65, 0.05, 214.45, 2, 0)
  21. MovementLoopAddLocation(NPC, -175.89, 0.00, 217.77, 2, math.random(12, 22))
  22. MovementLoopAddLocation(NPC, -178.48, 0.07, 213.42, 2, 0)
  23. MovementLoopAddLocation(NPC, -180.32, 0.06, 211.35, 2, 0)
  24. MovementLoopAddLocation(NPC, -182.41, 0.00, 205.14, 2, math.random(12, 22), "changegrid_Going_Down")
  25. MovementLoopAddLocation(NPC, -182.09, 0.00, 206.11, 2, 0)
  26. MovementLoopAddLocation(NPC, -181.20, 0.00, 210.79, 2, 0, "changegrid_Going_Up")
  27. MovementLoopAddLocation(NPC, -178.67, 0.02, 216.76, 2, math.random(12, 22))
  28. MovementLoopAddLocation(NPC, -181.42, 0.07, 215.11, 2, math.random(12, 22))
  29. MovementLoopAddLocation(NPC, -175.53, 0.00, 216.78, 2, math.random(12, 22))
  30. MovementLoopAddLocation(NPC, -180.59, 0.03, 211.31, 2, 0)
  31. MovementLoopAddLocation(NPC, -182.30, 0.00, 205.45, 2, 0, "changegrid_Going_Down")
  32. MovementLoopAddLocation(NPC, -182.49, 0.00, 200.92, 2, 0)
  33. MovementLoopAddLocation(NPC, -181.94, 0.00, 205.92, 2, 0)
  34. MovementLoopAddLocation(NPC, -179.11, 0.12, 212.13, 2, 0, "changegrid_Going_Up")
  35. MovementLoopAddLocation(NPC, -172.89, 0.00, 217.61, 2, math.random(12, 22))
  36. MovementLoopAddLocation(NPC, -174.62, 0.00, 216.96, 2, 0)
  37. MovementLoopAddLocation(NPC, -180.32, 0.05, 211.56, 2, 0)
  38. MovementLoopAddLocation(NPC, -182.41, 0.00, 206.13, 2, math.random(12, 22), "changegrid_Going_Down")
  39. MovementLoopAddLocation(NPC, -178.68, 0.00, 216.44, 2, 0, "changegrid_Going_Up")
  40. MovementLoopAddLocation(NPC, -178.62, 0.00, 216.46, 2, math.random(12, 22))
  41. end
  42. --------------------------------------------------------------------------------------
  43. -- NPC Change Grid
  44. --------------------------------------------------------------------------------------
  45. function changegrid_Going_Up(NPC)
  46. SetGridID(NPC, 3053675711)
  47. end
  48. function changegrid_Going_Down(NPC)
  49. SetGridID(NPC, 1555937977)
  50. end