9
3

anOakmystgreatbearPatrol2.lua 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/anOakmystgreatbearPatrol2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.19 03:10:32
  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, 996.04, 12.11, -292.01, 2, 5)
  21. MovementLoopAddLocation(NPC, 995.66, 12.23, -288.73, 2, 0)
  22. MovementLoopAddLocation(NPC, 1000.29, 12.87, -281.54, 2, math.random(8,12))
  23. MovementLoopAddLocation(NPC, 1000.29, 12.87, -281.54, 2, 0)
  24. MovementLoopAddLocation(NPC, 991.59, 12.5, -283.18, 2, math.random(8,12))
  25. MovementLoopAddLocation(NPC, 991.59, 12.5, -283.18, 2, 0)
  26. MovementLoopAddLocation(NPC, 999.06, 12.61, -291.83, 2, math.random(8,12))
  27. MovementLoopAddLocation(NPC, 999.06, 12.61, -291.83, 2, 0)
  28. MovementLoopAddLocation(NPC, 999.67, 12.78, -267.14, 2, math.random(8,12))
  29. MovementLoopAddLocation(NPC, 999.67, 12.78, -267.14, 2, 0)
  30. MovementLoopAddLocation(NPC, 1000.46, 12.86, -268.17, 2, 0)
  31. MovementLoopAddLocation(NPC, 987.28, 12.84, -280.18, 2, 0)
  32. MovementLoopAddLocation(NPC, 1001.09, 12.85, -291.37, 2, math.random(8,12))
  33. MovementLoopAddLocation(NPC, 1001.09, 12.85, -291.37, 2, 0)
  34. MovementLoopAddLocation(NPC, 992.59, 12.17, -288.44, 2, 0)
  35. MovementLoopAddLocation(NPC, 990.64, 12.54, -282.91, 2, 0)
  36. MovementLoopAddLocation(NPC, 985.3, 12.82, -281.42, 2, 0)
  37. MovementLoopAddLocation(NPC, 983.3, 12.58, -285.56, 2, math.random(8,12))
  38. MovementLoopAddLocation(NPC, 983.3, 12.58, -285.56, 2, 0)
  39. MovementLoopAddLocation(NPC, 983.62, 12.81, -282.04, 2, 0)
  40. MovementLoopAddLocation(NPC, 988.82, 12.77, -281.33, 2, 0)
  41. MovementLoopAddLocation(NPC, 992.13, 12.55, -284.39, 2, 0)
  42. MovementLoopAddLocation(NPC, 996.04, 12.11, -292.01, 2, 5)
  43. end