ASewerSlime392013.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewerslime392013.lua
  3. Script Purpose : Waypoint Path for asewerslime392013.lua
  4. Script Author : Rylec
  5. Script Date : 09-17-2019 08:39:48
  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, -179.69, 1.22, 54.10, 2, math.random(10, 22))
  18. MovementLoopAddLocation(NPC, -177.19, 1.22, 58.31, 2, math.random(10, 22))
  19. MovementLoopAddLocation(NPC, -175.76, 1.22, 60.30, 2, 0)
  20. MovementLoopAddLocation(NPC, -175.37, 1.22, 60.82, 2, math.random(10, 22))
  21. MovementLoopAddLocation(NPC, -176.15, 1.22, 59.97, 2, 0)
  22. MovementLoopAddLocation(NPC, -180.21, 1.29, 57.73, 2, 0)
  23. MovementLoopAddLocation(NPC, -175.96, 1.22, 60.12, 2, 0)
  24. MovementLoopAddLocation(NPC, -175.21, 1.22, 60.67, 2, 0)
  25. MovementLoopAddLocation(NPC, -175.29, 1.22, 60.65, 2, math.random(10, 22))
  26. MovementLoopAddLocation(NPC, -175.14, 1.22, 59.59, 2, math.random(10, 22))
  27. MovementLoopAddLocation(NPC, -175.28, 1.22, 60.46, 2, 0)
  28. MovementLoopAddLocation(NPC, -175.40, 1.23, 61.25, 2, math.random(10, 22))
  29. MovementLoopAddLocation(NPC, -179.30, 1.22, 54.59, 2, 0)
  30. MovementLoopAddLocation(NPC, -179.17, 1.22, 54.78, 2, math.random(10, 22))
  31. MovementLoopAddLocation(NPC, -177.12, 1.22, 58.28, 2, math.random(10, 22))
  32. MovementLoopAddLocation(NPC, -175.27, 1.22, 60.87, 2, math.random(10, 22))
  33. MovementLoopAddLocation(NPC, -176.26, 1.22, 59.89, 2, 0)
  34. end
  35. --------------------------------------------------------------------------------------
  36. -- NPC Change Grid
  37. --------------------------------------------------------------------------------------
  38. function changegrid_Going_Up(NPC)
  39. SetGridID(NPC, 3098524280)
  40. end
  41. function changegrid_Going_Down(NPC)
  42. SetGridID(NPC, 2981397110)
  43. end