anOakmystgreatbearPatrol1.lua 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/anOakmystgreatbearPatrol1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.19 03:10:06
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function waypoints(NPC)
  20. MovementLoopAddLocation(NPC, 1001.29, 12.89, -249.44, 2, 5)
  21. MovementLoopAddLocation(NPC, 994.9, 12.88, -253.22, 2, math.random(8,12))
  22. MovementLoopAddLocation(NPC, 994.9, 12.88, -253.22, 2, 0)
  23. MovementLoopAddLocation(NPC, 1001.76, 12.92, -246.86, 2, 0)
  24. MovementLoopAddLocation(NPC, 1002.94, 13.26, -241.87, 2, math.random(8,12))
  25. MovementLoopAddLocation(NPC, 1002.94, 13.26, -241.87, 2, 0)
  26. MovementLoopAddLocation(NPC, 1001.83, 12.97, -244.99, 2, 0)
  27. MovementLoopAddLocation(NPC, 1004.02, 13.38, -253.47, 2, math.random(8,12))
  28. MovementLoopAddLocation(NPC, 1004.02, 13.38, -253.47, 2, 0)
  29. MovementLoopAddLocation(NPC, 998.27, 12.89, -252.32, 2, 0)
  30. MovementLoopAddLocation(NPC, 995.84, 12.88, -253.08, 2, 0)
  31. MovementLoopAddLocation(NPC, 994.92, 12.86, -256.52, 2, math.random(8,12))
  32. MovementLoopAddLocation(NPC, 994.92, 12.86, -256.52, 2, 0)
  33. MovementLoopAddLocation(NPC, 996.36, 12.88, -251.57, 2, math.random(8,12))
  34. MovementLoopAddLocation(NPC, 996.36, 12.88, -251.57, 2, 0)
  35. MovementLoopAddLocation(NPC, 994.47, 12.89, -254.24, 2, math.random(8,12))
  36. MovementLoopAddLocation(NPC, 994.47, 12.89, -254.24, 2, 0)
  37. MovementLoopAddLocation(NPC, 998.5, 12.89, -248.45, 2, 0)
  38. MovementLoopAddLocation(NPC, 1006.31, 13.17, -245.43, 2, 0)
  39. MovementLoopAddLocation(NPC, 1003.97, 13.12, -246.4, 2, math.random(8,12))
  40. MovementLoopAddLocation(NPC, 1003.97, 13.12, -246.4, 2, 0)
  41. MovementLoopAddLocation(NPC, 997, 12.88, -250.75, 2, math.random(8,12))
  42. MovementLoopAddLocation(NPC, 997, 12.88, -250.75, 2, 0)
  43. MovementLoopAddLocation(NPC, 1002.23, 13.05, -251.07, 2, 0)
  44. MovementLoopAddLocation(NPC, 1004.2, 13.41, -253.76, 2, math.random(8,12))
  45. MovementLoopAddLocation(NPC, 1004.2, 13.41, -253.76, 2, 0)
  46. MovementLoopAddLocation(NPC, 1001.29, 12.89, -249.44, 2, 5)
  47. end