9
3

anOakmystpoacher1.lua 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/anOakmystpoacher1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.20 04:10:40
  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, 767.36, 13.35, -237.81, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 770.01, 13.35, -246.84, 2, 0)
  23. MovementLoopAddLocation(NPC, 773.12, 13.35, -249.11, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 773.12, 13.35, -249.11, 2, 0)
  25. MovementLoopAddLocation(NPC, 788.72, 13.35, -256.66, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 788.72, 13.35, -256.66, 2, 0)
  27. MovementLoopAddLocation(NPC, 784.75, 13.35, -253.85, 2, 0)
  28. MovementLoopAddLocation(NPC, 783.59, 13.35, -247.28, 2, 0)
  29. MovementLoopAddLocation(NPC, 780.88, 13.54, -242.02, 2, 0)
  30. MovementLoopAddLocation(NPC, 777.72, 13.43, -241.05, 2, 0)
  31. MovementLoopAddLocation(NPC, 772.4, 13.38, -242.16, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 772.4, 13.38, -242.16, 2, 0)
  33. MovementLoopAddLocation(NPC, 764.81, 13.35, -239.27, 2, 0)
  34. MovementLoopAddLocation(NPC, 758.27, 13.35, -232.06, 2, 0)
  35. MovementLoopAddLocation(NPC, 754.04, 13.56, -230.65, 2, 0)
  36. MovementLoopAddLocation(NPC, 756.03, 13.38, -231.57, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, 756.03, 13.38, -231.57, 2, 0)
  38. MovementLoopAddLocation(NPC, 759.33, 13.39, -235.01, 2, 0)
  39. MovementLoopAddLocation(NPC, 759.8, 13.53, -242.86, 2, 0)
  40. MovementLoopAddLocation(NPC, 761.87, 13.78, -246.81, 2, 0)
  41. MovementLoopAddLocation(NPC, 778.96, 13.35, -250.2, 2, math.random(5,10))
  42. MovementLoopAddLocation(NPC, 778.96, 13.35, -250.2, 2, 0)
  43. MovementLoopAddLocation(NPC, 772.47, 13.35, -248.85, 2, 0)
  44. MovementLoopAddLocation(NPC, 772.7, 13.38, -242.34, 2, 0)
  45. MovementLoopAddLocation(NPC, 778.68, 13.58, -240.74, 2, math.random(5,10))
  46. MovementLoopAddLocation(NPC, 778.68, 13.58, -240.74, 2, 0)
  47. MovementLoopAddLocation(NPC, 772.84, 13.4, -241.59, 2, 0)
  48. MovementLoopAddLocation(NPC, 767.36, 13.35, -237.81, 2, 4)
  49. end