atombrifterhatchling4.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling4.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:47
  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.88, -0.11, -119.71, 2, 4)
  21. MovementLoopAddLocation(NPC, -157.07, -0.11, -121.81, 2, 0)
  22. MovementLoopAddLocation(NPC, -157.75, -0.12, -124.72, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -157.75, -0.12, -124.72, 2, 0)
  24. MovementLoopAddLocation(NPC, -159.27, -0.04, -125.1, 2, 0)
  25. MovementLoopAddLocation(NPC, -159.76, -0.08, -126.82, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, -159.76, -0.08, -126.82, 2, 0)
  27. MovementLoopAddLocation(NPC, -158.39, -0.09, -124.58, 2, 0)
  28. MovementLoopAddLocation(NPC, -158.02, -0.12, -122.23, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, -158.02, -0.12, -122.23, 2, 0)
  30. MovementLoopAddLocation(NPC, -158.94, -0.12, -119.78, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -158.94, -0.12, -119.78, 2, 0)
  32. MovementLoopAddLocation(NPC, -157.34, -0.09, -118.35, 2, 0)
  33. MovementLoopAddLocation(NPC, -156.98, -0.06, -117.28, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -156.98, -0.06, -117.28, 2, 0)
  35. MovementLoopAddLocation(NPC, -156.27, -0.06, -119.42, 2, 0)
  36. MovementLoopAddLocation(NPC, -156.71, -0.1, -122.38, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, -156.71, -0.1, -122.38, 2, 0)
  38. MovementLoopAddLocation(NPC, -157.47, -0.11, -121.7, 2, 0)
  39. MovementLoopAddLocation(NPC, -157.88, -0.11, -119.71, 2, 3)
  40. end