9
3

ASewerSlime391949.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/ASewerSlime391949.lua
  3. Script Purpose : Waypoint Path for ASewerSlime391949.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:18: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, -181.60, 0.00, 163.67, 2, math.random(10, 22))
  18. MovementLoopAddLocation(NPC, -182.55, 0.00, 164.07, 2, 0)
  19. MovementLoopAddLocation(NPC, -182.60, 0.00, 163.98, 2, math.random(10, 22))
  20. MovementLoopAddLocation(NPC, -181.62, 0.00, 156.68, 2, 0)
  21. MovementLoopAddLocation(NPC, -181.24, 0.03, 159.03, 2, 0)
  22. MovementLoopAddLocation(NPC, -182.11, 0.24, 170.70, 2, math.random(10, 22))
  23. MovementLoopAddLocation(NPC, -182.94, 0.00, 166.69, 2, 0)
  24. MovementLoopAddLocation(NPC, -183.98, 0.06, 158.44, 2, math.random(10, 22))
  25. MovementLoopAddLocation(NPC, -182.87, 0.24, 160.56, 2, 0)
  26. MovementLoopAddLocation(NPC, -182.50, 0.00, 162.41, 2, 0)
  27. MovementLoopAddLocation(NPC, -181.75, 0.00, 163.34, 2, 0)
  28. MovementLoopAddLocation(NPC, -181.78, 0.00, 163.35, 2, math.random(10, 22))
  29. MovementLoopAddLocation(NPC, -181.95, 0.00, 164.05, 2, 0)
  30. MovementLoopAddLocation(NPC, -182.53, 0.00, 172.24, 2, math.random(10, 22), "changegrid_Going_Up")
  31. MovementLoopAddLocation(NPC, -181.94, 0.00, 169.20, 2, 0, "changegrid_Going_Down")
  32. MovementLoopAddLocation(NPC, -181.94, 0.00, 164.57, 2, 0)
  33. end
  34. --------------------------------------------------------------------------------------
  35. -- NPC Change Grid
  36. --------------------------------------------------------------------------------------
  37. function changegrid_Going_Up(NPC)
  38. SetGridID(NPC, 667331216)
  39. end
  40. function changegrid_Going_Down(NPC)
  41. SetGridID(NPC, 3049532766)
  42. end