ASewerSlime391957.lua 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/ASewerSlime391957.lua
  3. Script Purpose : Waypoint Path for ASewerSlime391957.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46:10
  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.39, 0.01, 205.25, 2, math.random(10, 22))
  18. MovementLoopAddLocation(NPC, -182.59, 0.00, 207.99, 2, 0)
  19. MovementLoopAddLocation(NPC, -182.62, 0.00, 210.48, 2, math.random(10, 22), "changegrid_Going_Up")
  20. MovementLoopAddLocation(NPC, -181.83, 0.03, 204.03, 2, math.random(10, 22), "changegrid_Going_Down")
  21. MovementLoopAddLocation(NPC, -182.04, 0.00, 204.98, 2, 0)
  22. MovementLoopAddLocation(NPC, -180.85, 0.31, 209.10, 2, math.random(10, 22))
  23. MovementLoopAddLocation(NPC, -184.26, 0.15, 210.75, 2, math.random(10, 22), "changegrid_Going_Up")
  24. MovementLoopAddLocation(NPC, -180.59, 0.00, 212.51, 2, 0)
  25. MovementLoopAddLocation(NPC, -179.82, 0.00, 214.09, 2, 0)
  26. MovementLoopAddLocation(NPC, -178.55, 0.00, 214.84, 2, 0)
  27. MovementLoopAddLocation(NPC, -178.52, 0.00, 214.72, 2, math.random(10, 22))
  28. MovementLoopAddLocation(NPC, -177.70, 0.00, 215.77, 2, math.random(10, 22))
  29. MovementLoopAddLocation(NPC, -177.88, 0.05, 214.28, 2, 0)
  30. MovementLoopAddLocation(NPC, -179.95, 0.08, 211.75, 2, 0)
  31. MovementLoopAddLocation(NPC, -181.02, 0.05, 207.68, 2, 0, "changegrid_Going_Down")
  32. MovementLoopAddLocation(NPC, -182.21, 0.00, 205.33, 2, 0)
  33. MovementLoopAddLocation(NPC, -182.51, 0.00, 203.93, 2, math.random(10, 22))
  34. end
  35. --------------------------------------------------------------------------------------
  36. -- NPC Change Grid
  37. --------------------------------------------------------------------------------------
  38. function changegrid_Going_Up(NPC)
  39. SetGridID(NPC, 3053675711)
  40. end
  41. function changegrid_Going_Down(NPC)
  42. SetGridID(NPC, 1555937977)
  43. end