atombrifterhatchling5.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling5.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:07
  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, -159.97, -0.02, -124.13, 2, 4)
  21. MovementLoopAddLocation(NPC, -158.88, -0.04, -125.24, 2, 0)
  22. MovementLoopAddLocation(NPC, -158.67, -0.07, -126.55, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -158.67, -0.07, -126.55, 2, 0)
  24. MovementLoopAddLocation(NPC, -158.68, -0.14, -123.41, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -158.68, -0.14, -123.41, 2, 0)
  26. MovementLoopAddLocation(NPC, -160.11, -0.13, -121.41, 2, 0)
  27. MovementLoopAddLocation(NPC, -158.46, -0.11, -118.21, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -158.46, -0.11, -118.21, 2, 0)
  29. MovementLoopAddLocation(NPC, -160.03, -0.13, -119.84, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -160.03, -0.13, -119.84, 2, 0)
  31. MovementLoopAddLocation(NPC, -159.05, -0.11, -117.81, 2, 0)
  32. MovementLoopAddLocation(NPC, -158.55, -0.07, -112.45, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -158.55, -0.07, -112.45, 2, 0)
  34. MovementLoopAddLocation(NPC, -159.49, -0.05, -113.55, 2, 0)
  35. MovementLoopAddLocation(NPC, -158.56, -0.09, -115.49, 2, math.random(5,10))
  36. MovementLoopAddLocation(NPC, -158.56, -0.09, -115.49, 2, 0)
  37. MovementLoopAddLocation(NPC, -159.16, -0.1, -116.45, 2, 0)
  38. MovementLoopAddLocation(NPC, -158.49, -0.12, -120.69, 2, math.random(5,10))
  39. MovementLoopAddLocation(NPC, -158.49, -0.12, -120.69, 2, 0)
  40. MovementLoopAddLocation(NPC, -156.72, -0.11, -124.53, 2, math.random(5,10))
  41. MovementLoopAddLocation(NPC, -156.72, -0.11, -124.53, 2, 0)
  42. MovementLoopAddLocation(NPC, -157.56, -0.12, -123.79, 2, 0)
  43. MovementLoopAddLocation(NPC, -159.97, -0.02, -124.13, 2, 3)
  44. end