9
3

atombrifterhatchling6.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling6.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:43
  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, -157.45, -0.06, -116.16, 2, 4)
  21. MovementLoopAddLocation(NPC, -156.83, -0.07, -113.25, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -156.83, -0.07, -113.25, 2, 0)
  23. MovementLoopAddLocation(NPC, -156.23, -0.01, -115.29, 2, 0)
  24. MovementLoopAddLocation(NPC, -156.69, -0.04, -117.26, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -156.69, -0.04, -117.26, 2, 0)
  26. MovementLoopAddLocation(NPC, -158.91, -0.11, -117.69, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -158.91, -0.11, -117.69, 2, 0)
  28. MovementLoopAddLocation(NPC, -157.37, -0.1, -119.35, 2, 0)
  29. MovementLoopAddLocation(NPC, -156.77, -0.1, -122.01, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -156.77, -0.1, -122.01, 2, 0)
  31. MovementLoopAddLocation(NPC, -157.4, -0.12, -123.82, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -157.4, -0.12, -123.82, 2, 0)
  33. MovementLoopAddLocation(NPC, -157.18, -0.11, -122.5, 2, 0)
  34. MovementLoopAddLocation(NPC, -159.18, -0.12, -119.35, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -159.18, -0.12, -119.35, 2, 0)
  36. MovementLoopAddLocation(NPC, -158.97, -0.06, -113.93, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, -158.97, -0.06, -113.93, 2, 0)
  38. MovementLoopAddLocation(NPC, -157.86, -0.08, -114.45, 2, 0)
  39. MovementLoopAddLocation(NPC, -157.45, -0.06, -116.16, 2, 3)
  40. end