avenomspitterRoam.lua 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/avenomspitterRoam.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.10 09:01:20
  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, -129.17, 0, -205.11, 2, 4)
  21. MovementLoopAddLocation(NPC, -124.77, 0, -200.32, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -124.77, 0, -200.32, 2, 0)
  23. MovementLoopAddLocation(NPC, -126.25, 0, -197.73, 2, 0)
  24. MovementLoopAddLocation(NPC, -126.68, 0, -194.85, 2, 0)
  25. MovementLoopAddLocation(NPC, -125.22, 0, -193.28, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, -125.22, 0, -193.28, 2, 0)
  27. MovementLoopAddLocation(NPC, -126.62, 0, -196.06, 2, 0)
  28. MovementLoopAddLocation(NPC, -126.37, 0, -200.66, 2, 0)
  29. MovementLoopAddLocation(NPC, -123.53, 0, -202.65, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -123.53, 0, -202.65, 2, 0)
  31. MovementLoopAddLocation(NPC, -123.53, 0, -202.65, 2, 0)
  32. MovementLoopAddLocation(NPC, -124.65, 0, -201.74, 2, 0)
  33. MovementLoopAddLocation(NPC, -121.98, 0, -199.6, 2, 0)
  34. MovementLoopAddLocation(NPC, -121.82, 0, -197.94, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -121.82, 0, -197.94, 2, 0)
  36. MovementLoopAddLocation(NPC, -122.95, 0, -198.38, 2, 0)
  37. MovementLoopAddLocation(NPC, -127.06, 0, -197.8, 2, 0)
  38. MovementLoopAddLocation(NPC, -128.27, 0, -194.81, 2, 0)
  39. MovementLoopAddLocation(NPC, -126.95, 0, -193.13, 2, math.random(5,10))
  40. MovementLoopAddLocation(NPC, -126.95, 0, -193.13, 2, 0)
  41. MovementLoopAddLocation(NPC, -129.52, 0, -195.83, 2, 0)
  42. MovementLoopAddLocation(NPC, -129.98, 0, -201.38, 2, 0)
  43. MovementLoopAddLocation(NPC, -129.17, 0, -205.11, 2, 3)
  44. end