ASewerSlime391950.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/ASewerSlime391950.lua
  3. Script Purpose : Waypoint Path for ASewerSlime391950.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 04:45:53
  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, -183.14, 0.05, 97.35, 2, math.random(10, 22))
  18. MovementLoopAddLocation(NPC, -183.10, 0.00, 103.82, 2, math.random(10, 22))
  19. MovementLoopAddLocation(NPC, -180.29, 0.05, 94.32, 2, 0)
  20. MovementLoopAddLocation(NPC, -177.81, 0.05, 91.62, 2, 0)
  21. MovementLoopAddLocation(NPC, -177.23, 0.05, 91.26, 2, math.random(10, 22))
  22. MovementLoopAddLocation(NPC, -178.19, 0.05, 92.37, 2, 0)
  23. MovementLoopAddLocation(NPC, -179.99, 0.09, 95.33, 2, 0)
  24. MovementLoopAddLocation(NPC, -180.82, 0.05, 96.33, 2, math.random(10, 22))
  25. MovementLoopAddLocation(NPC, -181.74, 0.05, 96.57, 2, 0)
  26. MovementLoopAddLocation(NPC, -181.69, 0.05, 96.45, 2, math.random(10, 22))
  27. MovementLoopAddLocation(NPC, -181.15, 0.05, 94.76, 2, 0)
  28. MovementLoopAddLocation(NPC, -178.66, 0.05, 92.38, 2, 0)
  29. MovementLoopAddLocation(NPC, -173.75, 0.05, 90.88, 2, math.random(10, 22), "changegrid_Going_Down")
  30. MovementLoopAddLocation(NPC, -177.50, 0.05, 91.75, 2, 0, "changegrid_Going_Up")
  31. MovementLoopAddLocation(NPC, -180.66, 0.05, 93.58, 2, 0)
  32. MovementLoopAddLocation(NPC, -181.62, 0.05, 94.81, 2, math.random(10, 22))
  33. end
  34. --------------------------------------------------------------------------------------
  35. -- NPC Change Grid
  36. --------------------------------------------------------------------------------------
  37. function changegrid_Going_Up(NPC)
  38. SetGridID(NPC, 3049532766)
  39. end
  40. function changegrid_Going_Down(NPC)
  41. SetGridID(NPC, 3438300428)
  42. end