atombrifterhatchling11.lua 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling11.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:32
  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, -194.91, -0.03, -106.14, 2, 4)
  21. MovementLoopAddLocation(NPC, -192.49, -0.05, -105.54, 2, 0)
  22. MovementLoopAddLocation(NPC, -191.05, -0.11, -105.42, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -191.05, -0.11, -105.42, 2, 0)
  24. MovementLoopAddLocation(NPC, -193.46, -0.05, -104.76, 2, 0)
  25. MovementLoopAddLocation(NPC, -195.62, -0.09, -103.08, 2, 0)
  26. MovementLoopAddLocation(NPC, -196.62, -0.15, -101.22, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -196.62, -0.15, -101.22, 2, 0)
  28. MovementLoopAddLocation(NPC, -196.62, -0.15, -101.22, 2, 0)
  29. MovementLoopAddLocation(NPC, -196.55, -0.1, -102.44, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -196.55, -0.1, -102.44, 2, 0)
  31. MovementLoopAddLocation(NPC, -198.46, -0.08, -102.14, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -198.46, -0.08, -102.14, 2, 0)
  33. MovementLoopAddLocation(NPC, -198.26, -0.09, -100.71, 2, 0)
  34. MovementLoopAddLocation(NPC, -197.39, -0.08, -99.12, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -197.39, -0.08, -99.12, 2, 0)
  36. MovementLoopAddLocation(NPC, -197.3, -0.12, -101.67, 2, 0)
  37. MovementLoopAddLocation(NPC, -195.91, -0.05, -103.74, 2, 0)
  38. MovementLoopAddLocation(NPC, -192.98, -0.04, -105.37, 2, 0)
  39. MovementLoopAddLocation(NPC, -191.11, -0.11, -105.29, 2, math.random(5,10))
  40. MovementLoopAddLocation(NPC, -191.11, -0.11, -105.29, 2, 0)
  41. MovementLoopAddLocation(NPC, -193.33, -0.05, -104.92, 2, 0)
  42. MovementLoopAddLocation(NPC, -194.91, -0.03, -106.14, 2, 3)
  43. end