ASewerSlime391952.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/ASewerSlime391952.lua
  3. Script Purpose : Waypoint Path for ASewerSlime391952.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:26:38
  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, -182.44, 0.00, 172.82, 2, math.random(10, 22))
  18. MovementLoopAddLocation(NPC, -181.86, 0.00, 169.18, 2, 0, "changegrid_Going_Down")
  19. MovementLoopAddLocation(NPC, -181.95, 0.00, 166.22, 2, 0)
  20. MovementLoopAddLocation(NPC, -181.58, 0.00, 165.52, 2, math.random(10, 22))
  21. MovementLoopAddLocation(NPC, -181.93, 0.00, 165.97, 2, 0)
  22. MovementLoopAddLocation(NPC, -182.65, 0.00, 168.90, 2, math.random(10, 22))
  23. MovementLoopAddLocation(NPC, -181.14, 0.00, 173.23, 2, math.random(10, 22), "changegrid_Going_Up")
  24. MovementLoopAddLocation(NPC, -182.33, 0.00, 167.18, 2, 0, "changegrid_Going_Down")
  25. MovementLoopAddLocation(NPC, -182.56, 0.00, 165.88, 2, 0)
  26. MovementLoopAddLocation(NPC, -182.49, 0.00, 165.65, 2, math.random(10, 22))
  27. MovementLoopAddLocation(NPC, -182.20, 0.00, 162.99, 2, 0)
  28. MovementLoopAddLocation(NPC, -181.88, 0.17, 161.46, 2, 0)
  29. MovementLoopAddLocation(NPC, -181.65, 0.00, 155.96, 2, math.random(10, 22))
  30. MovementLoopAddLocation(NPC, -181.58, 0.24, 160.35, 2, 0)
  31. MovementLoopAddLocation(NPC, -181.89, 0.00, 162.02, 2, 0)
  32. MovementLoopAddLocation(NPC, -181.69, 0.00, 163.93, 2, math.random(10, 22))
  33. MovementLoopAddLocation(NPC, -182.05, 0.24, 170.63, 2, 0)
  34. MovementLoopAddLocation(NPC, -182.44, 0.00, 172.86, 2, 0, "changegrid_Going_Up")
  35. end
  36. --------------------------------------------------------------------------------------
  37. -- NPC Change Grid
  38. --------------------------------------------------------------------------------------
  39. function changegrid_Going_Up(NPC)
  40. SetGridID(NPC, 667331216)
  41. end
  42. function changegrid_Going_Down(NPC)
  43. SetGridID(NPC, 3049532766)
  44. end