adiseasedratonga1586525.lua 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga1586525.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga1586525.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:45:44
  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, -179.44, 0.00, 215.77, 2, math.random(12, 22))
  18. MovementLoopAddLocation(NPC, -181.43, 0.25, 209.34, 2, math.random(12, 22), "changegrid_Going_Down")
  19. MovementLoopAddLocation(NPC, -181.49, 0.29, 203.10, 2, 0)
  20. MovementLoopAddLocation(NPC, -181.53, 0.27, 203.10, 2, math.random(12, 22))
  21. MovementLoopAddLocation(NPC, -181.50, 0.00, 205.85, 2, math.random(12, 22))
  22. MovementLoopAddLocation(NPC, -181.48, 0.04, 214.62, 2, math.random(12, 22), "changegrid_Going_Up")
  23. MovementLoopAddLocation(NPC, -180.71, 0.00, 214.63, 2, 0)
  24. MovementLoopAddLocation(NPC, -180.72, 0.00, 214.60, 2, math.random(12, 22))
  25. MovementLoopAddLocation(NPC, -181.65, 0.00, 208.01, 2, math.random(12, 22), "changegrid_Going_Down")
  26. MovementLoopAddLocation(NPC, -181.64, 0.24, 209.03, 2, 0)
  27. MovementLoopAddLocation(NPC, -176.40, 0.10, 214.71, 2, 0, "changegrid_Going_Up")
  28. MovementLoopAddLocation(NPC, -169.54, 0.00, 216.88, 2, 0)
  29. MovementLoopAddLocation(NPC, -175.84, 0.08, 215.09, 2, 0)
  30. MovementLoopAddLocation(NPC, -182.60, 0.00, 210.95, 2, math.random(12, 22))
  31. MovementLoopAddLocation(NPC, -181.85, 0.03, 214.05, 2, 0, "changegrid_Going_Up")
  32. end
  33. --------------------------------------------------------------------------------------
  34. -- NPC Change Grid
  35. --------------------------------------------------------------------------------------
  36. function changegrid_Going_Up(NPC)
  37. SetGridID(NPC, 3053675711)
  38. end
  39. function changegrid_Going_Down(NPC)
  40. SetGridID(NPC, 1555937977)
  41. end