anOakmystpoacher2.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/anOakmystpoacher2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.20 04:10:51
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. human(NPC, Spawn)
  12. waypoints(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 776.48, 13.35, -253.35, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 782.05, 13.35, -253.34, 2, 0)
  23. MovementLoopAddLocation(NPC, 794.6, 12.88, -261.49, 2, 0)
  24. MovementLoopAddLocation(NPC, 806.93, 11.29, -267.36, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 806.93, 11.29, -267.36, 2, 0)
  26. MovementLoopAddLocation(NPC, 791.15, 13.34, -258.58, 2, 0)
  27. MovementLoopAddLocation(NPC, 783.47, 13.35, -257.98, 2, 0)
  28. MovementLoopAddLocation(NPC, 781.23, 13.56, -264.38, 2, 0)
  29. MovementLoopAddLocation(NPC, 782.55, 13.64, -266.18, 2, 0)
  30. MovementLoopAddLocation(NPC, 784.87, 13.38, -266.82, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 784.87, 13.38, -266.82, 2, 0)
  32. MovementLoopAddLocation(NPC, 782.35, 13.5, -265, 2, 0)
  33. MovementLoopAddLocation(NPC, 781.39, 13.38, -261.62, 2, 0)
  34. MovementLoopAddLocation(NPC, 779.64, 13.35, -256.03, 2, 0)
  35. MovementLoopAddLocation(NPC, 771.01, 13.72, -254.64, 2, 0)
  36. MovementLoopAddLocation(NPC, 766.89, 13.91, -256.42, 2, 0)
  37. MovementLoopAddLocation(NPC, 767.43, 13.9, -255.91, 2, math.random(5,10))
  38. MovementLoopAddLocation(NPC, 767.43, 13.9, -255.91, 2, 0)
  39. MovementLoopAddLocation(NPC, 770.54, 13.58, -252.98, 2, 0)
  40. MovementLoopAddLocation(NPC, 770.32, 13.35, -246.83, 2, 0)
  41. MovementLoopAddLocation(NPC, 763.97, 13.35, -242, 2, 0)
  42. MovementLoopAddLocation(NPC, 758.54, 13.59, -242.75, 2, 0)
  43. MovementLoopAddLocation(NPC, 759.29, 13.54, -242.49, 2, math.random(5,10))
  44. MovementLoopAddLocation(NPC, 759.29, 13.54, -242.49, 2, 0)
  45. MovementLoopAddLocation(NPC, 760.75, 13.71, -245.9, 2, 0)
  46. MovementLoopAddLocation(NPC, 765.92, 13.48, -248.47, 2, 0)
  47. MovementLoopAddLocation(NPC, 782.06, 13.35, -249.98, 2, 0)
  48. MovementLoopAddLocation(NPC, 782.86, 13.94, -236.36, 2, math.random(5,10))
  49. MovementLoopAddLocation(NPC, 782.86, 13.94, -236.36, 2, 0)
  50. MovementLoopAddLocation(NPC, 782.55, 13.83, -237.75, 2, 0)
  51. MovementLoopAddLocation(NPC, 780.38, 13.72, -239.63, 2, 0)
  52. MovementLoopAddLocation(NPC, 773.98, 13.43, -240.95, 2, 0)
  53. MovementLoopAddLocation(NPC, 772.3, 13.36, -243, 2, 0)
  54. MovementLoopAddLocation(NPC, 772.79, 13.35, -246.74, 2, 0)
  55. MovementLoopAddLocation(NPC, 776.48, 13.35, -253.35, 2, 4)
  56. end