atombrifterhatchling9.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling9.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:36
  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, -184.15, -0.07, -105.85, 2, 4)
  21. MovementLoopAddLocation(NPC, -189.35, -0.13, -105.22, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -189.35, -0.13, -105.22, 2, 0)
  23. MovementLoopAddLocation(NPC, -187.09, -0.11, -105.18, 2, 0)
  24. MovementLoopAddLocation(NPC, -183.63, -0.11, -107.37, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -183.63, -0.11, -107.37, 2, 0)
  26. MovementLoopAddLocation(NPC, -185.42, -0.09, -106.12, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -185.42, -0.09, -106.12, 2, 0)
  28. MovementLoopAddLocation(NPC, -186.2, -0.09, -104.51, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, -186.2, -0.09, -104.51, 2, 0)
  30. MovementLoopAddLocation(NPC, -186.29, -0.1, -106.53, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -186.29, -0.1, -106.53, 2, 0)
  32. MovementLoopAddLocation(NPC, -184.08, -0.12, -107.39, 2, 0)
  33. MovementLoopAddLocation(NPC, -184.15, -0.07, -105.85, 2, 3)
  34. end