ASewerSlime391954.lua 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/ASewerSlime391954.lua
  3. Script Purpose : Waypoint Path for ASewerSlime391954.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46:04
  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.82, 0.11, 215.17, 2, math.random(10, 22))
  18. MovementLoopAddLocation(NPC, -175.76, 0.01, 215.92, 2, 0)
  19. MovementLoopAddLocation(NPC, -179.10, 0.00, 214.02, 2, 0)
  20. MovementLoopAddLocation(NPC, -182.62, 0.07, 213.44, 2, math.random(10, 22))
  21. MovementLoopAddLocation(NPC, -182.39, 0.24, 209.30, 2, math.random(10, 22), "changegrid_Going_Down")
  22. MovementLoopAddLocation(NPC, -179.94, 0.05, 212.13, 2, 0, "changegrid_Going_Up")
  23. MovementLoopAddLocation(NPC, -178.67, 0.00, 214.39, 2, math.random(10, 22))
  24. MovementLoopAddLocation(NPC, -178.89, 0.11, 212.46, 2, 0)
  25. MovementLoopAddLocation(NPC, -182.30, 0.00, 207.83, 2, 0, "changegrid_Going_Down")
  26. MovementLoopAddLocation(NPC, -182.48, 0.24, 199.26, 2, 0)
  27. MovementLoopAddLocation(NPC, -182.46, 0.24, 199.25, 2, math.random(10, 22))
  28. MovementLoopAddLocation(NPC, -181.89, 0.00, 201.53, 2, 0)
  29. MovementLoopAddLocation(NPC, -182.05, 0.00, 206.98, 2, 0)
  30. MovementLoopAddLocation(NPC, -181.31, 0.00, 210.86, 2, math.random(10, 22), "changegrid_Going_Up")
  31. MovementLoopAddLocation(NPC, -180.77, 0.00, 214.39, 2, 0)
  32. MovementLoopAddLocation(NPC, -181.01, 0.05, 215.98, 2, math.random(10, 22))
  33. MovementLoopAddLocation(NPC, -178.85, 0.01, 213.88, 2, math.random(10, 22))
  34. MovementLoopAddLocation(NPC, -178.68, 0.00, 214.45, 2, math.random(10, 22))
  35. end
  36. --------------------------------------------------------------------------------------
  37. -- NPC Change Grid
  38. --------------------------------------------------------------------------------------
  39. function changegrid_Going_Up(NPC)
  40. SetGridID(NPC, 3053675711)
  41. end
  42. function changegrid_Going_Down(NPC)
  43. SetGridID(NPC, 1555937977)
  44. end