ASewerSlime391951.lua 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/ASewerSlime391951.lua
  3. Script Purpose : Waypoint Path for ASewerSlime391951.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 04:45:57
  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.76, 0.00, 104.00, 2, math.random(10, 22))
  18. MovementLoopAddLocation(NPC, -180.99, 0.05, 94.55, 2, math.random(10, 22))
  19. MovementLoopAddLocation(NPC, -181.53, 0.35, 100.34, 2, 0)
  20. MovementLoopAddLocation(NPC, -181.40, 0.29, 101.96, 2, math.random(10, 22))
  21. MovementLoopAddLocation(NPC, -179.95, 0.16, 96.65, 2, 0)
  22. MovementLoopAddLocation(NPC, -176.44, 0.15, 92.60, 2, 0)
  23. MovementLoopAddLocation(NPC, -173.77, 0.06, 91.11, 2, 0, "changegrid_Going_Down")
  24. MovementLoopAddLocation(NPC, -178.12, 0.05, 91.15, 2, 0, "changegrid_Going_Up")
  25. MovementLoopAddLocation(NPC, -180.87, 0.05, 93.99, 2, 0)
  26. MovementLoopAddLocation(NPC, -181.64, 0.05, 95.81, 2, 0)
  27. MovementLoopAddLocation(NPC, -178.60, 0.08, 93.68, 2, 0)
  28. MovementLoopAddLocation(NPC, -175.40, 0.26, 91.92, 2, 0)
  29. MovementLoopAddLocation(NPC, -172.65, 0.05, 91.00, 2, math.random(10, 22), "changegrid_Going_Down")
  30. MovementLoopAddLocation(NPC, -174.06, 0.10, 91.52, 2, 0)
  31. MovementLoopAddLocation(NPC, -176.72, 0.08, 92.10, 2, 0, "changegrid_Going_Up")
  32. MovementLoopAddLocation(NPC, -180.56, 0.05, 94.09, 2, 0)
  33. MovementLoopAddLocation(NPC, -180.55, 0.05, 94.11, 2, math.random(10, 22))
  34. MovementLoopAddLocation(NPC, -181.12, 0.05, 96.84, 2, 0)
  35. MovementLoopAddLocation(NPC, -181.93, 0.27, 99.65, 2, 0)
  36. MovementLoopAddLocation(NPC, -182.21, 0.28, 102.13, 2, 0)
  37. end
  38. --------------------------------------------------------------------------------------
  39. -- NPC Change Grid
  40. --------------------------------------------------------------------------------------
  41. function changegrid_Going_Up(NPC)
  42. SetGridID(NPC, 3049532766)
  43. end
  44. function changegrid_Going_Down(NPC)
  45. SetGridID(NPC, 3438300428)
  46. end