atombrifterhatchling10.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling10.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:08
  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, -187.03, -0.09, -107.61, 2, 4)
  21. MovementLoopAddLocation(NPC, -187.9, -0.12, -105.79, 2, 0)
  22. MovementLoopAddLocation(NPC, -192.62, -0.03, -106.1, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -192.62, -0.03, -106.1, 2, 0)
  24. MovementLoopAddLocation(NPC, -193.13, -0.08, -104.51, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -193.13, -0.08, -104.51, 2, 0)
  26. MovementLoopAddLocation(NPC, -191.9, -0.1, -105.04, 2, 0)
  27. MovementLoopAddLocation(NPC, -187.63, -0.07, -104.24, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -187.63, -0.07, -104.24, 2, 0)
  29. MovementLoopAddLocation(NPC, -190.05, -0.13, -105.77, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -190.05, -0.13, -105.77, 2, 0)
  31. MovementLoopAddLocation(NPC, -190.62, -0.11, -104.81, 2, 0)
  32. MovementLoopAddLocation(NPC, -192.75, -0.07, -104.94, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -192.75, -0.07, -104.94, 2, 0)
  34. MovementLoopAddLocation(NPC, -191.01, -0.11, -105.39, 2, 0)
  35. MovementLoopAddLocation(NPC, -186.96, -0.11, -104.82, 2, math.random(5,10))
  36. MovementLoopAddLocation(NPC, -186.96, -0.11, -104.82, 2, 0)
  37. MovementLoopAddLocation(NPC, -187.03, -0.09, -107.61, 2, 3)
  38. end