atombrifterbleeder2.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterbleeder2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 09:01:06
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. AddTimer(NPC, 6000, "waypoints")
  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, -174.4, 1.17, -117.49, 2, 0)
  21. MovementLoopAddLocation(NPC, -175.81, 1.17, -116.41, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -175.81, 1.17, -116.41, 2, 0)
  23. MovementLoopAddLocation(NPC, -172.89, 1.17, -117.28, 2, 0)
  24. MovementLoopAddLocation(NPC, -170.92, 1.17, -121.85, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -170.92, 1.17, -121.85, 2, 0)
  26. MovementLoopAddLocation(NPC, -172.61, 1.17, -120.75, 2, 0)
  27. MovementLoopAddLocation(NPC, -176.21, 1.17, -120.81, 2, 0)
  28. MovementLoopAddLocation(NPC, -178.38, 1.17, -123.69, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, -178.38, 1.17, -123.69, 2, 0)
  30. MovementLoopAddLocation(NPC, -178.29, 1.17, -121.91, 2, 0)
  31. MovementLoopAddLocation(NPC, -179.86, 1.17, -118.14, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -179.86, 1.17, -118.14, 2, 0)
  33. MovementLoopAddLocation(NPC, -178.22, 1.17, -121.76, 2, 0)
  34. MovementLoopAddLocation(NPC, -178.67, 1.17, -125.23, 2, 0)
  35. MovementLoopAddLocation(NPC, -179.87, 1.17, -126.85, 2, 0)
  36. MovementLoopAddLocation(NPC, -181.08, 1.17, -127.85, 2, 0)
  37. MovementLoopAddLocation(NPC, -182.38, 1.17, -127.49, 2, math.random(5,10))
  38. MovementLoopAddLocation(NPC, -182.38, 1.17, -127.49, 2, 0)
  39. MovementLoopAddLocation(NPC, -179.09, 1.17, -127.5, 2, 0)
  40. MovementLoopAddLocation(NPC, -177.1, 1.17, -126.07, 2, 0)
  41. MovementLoopAddLocation(NPC, -173.5, 1.17, -121.93, 2, 0)
  42. MovementLoopAddLocation(NPC, -172.32, 1.17, -118.4, 2, math.random(5,10))
  43. MovementLoopAddLocation(NPC, -172.32, 1.17, -118.4, 2, 0)
  44. MovementLoopAddLocation(NPC, -174.4, 1.17, -117.49, 2, math.random(5,10))
  45. end