9
3

anOakmystpoacher3.lua 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/anOakmystpoacher3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.20 05:10:17
  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, 801.66, 12.97, -254.83, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 816.39, 9.05, -272.24, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 816.39, 9.05, -272.24, 2, 0)
  24. MovementLoopAddLocation(NPC, 808.7, 11.04, -266.87, 2, 0)
  25. MovementLoopAddLocation(NPC, 801.81, 11.94, -268.34, 2, 0)
  26. MovementLoopAddLocation(NPC, 797.55, 12.29, -273.1, 2, 0)
  27. MovementLoopAddLocation(NPC, 796.94, 12.6, -277.58, 2, 0)
  28. MovementLoopAddLocation(NPC, 798.76, 12.33, -278.81, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 798.76, 12.33, -278.81, 2, 0)
  30. MovementLoopAddLocation(NPC, 795.85, 12.85, -276.97, 2, 0)
  31. MovementLoopAddLocation(NPC, 797.34, 12.49, -264.96, 2, 0)
  32. MovementLoopAddLocation(NPC, 785.45, 13.35, -253.98, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 785.45, 13.35, -253.98, 2, 0)
  34. MovementLoopAddLocation(NPC, 788.84, 13.35, -257.92, 2, 0)
  35. MovementLoopAddLocation(NPC, 790.28, 13.35, -256.52, 2, 0)
  36. MovementLoopAddLocation(NPC, 790.86, 14.22, -254.39, 2, 0)
  37. MovementLoopAddLocation(NPC, 790.41, 15.02, -251.8, 2, math.random(5,10))
  38. MovementLoopAddLocation(NPC, 790.41, 15.02, -251.8, 2, 0)
  39. MovementLoopAddLocation(NPC, 790.42, 14.4, -248.72, 2, 0)
  40. MovementLoopAddLocation(NPC, 794.23, 13.35, -248.65, 2, 0)
  41. MovementLoopAddLocation(NPC, 798.76, 13.05, -255.38, 2, 0)
  42. MovementLoopAddLocation(NPC, 807.89, 11.69, -262.86, 2, math.random(5,10))
  43. MovementLoopAddLocation(NPC, 807.89, 11.69, -262.86, 2, 0)
  44. MovementLoopAddLocation(NPC, 796.98, 13.35, -250.92, 2, 0)
  45. MovementLoopAddLocation(NPC, 796.22, 13.35, -246.86, 2, 0)
  46. MovementLoopAddLocation(NPC, 796.44, 13.35, -247.9, 2, math.random(5,10))
  47. MovementLoopAddLocation(NPC, 796.44, 13.35, -247.9, 2, 0)
  48. MovementLoopAddLocation(NPC, 797.02, 13.35, -250.02, 2, 0)
  49. MovementLoopAddLocation(NPC, 802.4, 13.05, -252.87, 2, 4)
  50. end