9
3

atombrifterhatchling8.lua 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling8.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:35
  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, -181.01, -0.02, -114.52, 2, 4)
  21. MovementLoopAddLocation(NPC, -181.52, -0.04, -111.08, 2, 0)
  22. MovementLoopAddLocation(NPC, -183.35, -0.13, -108.74, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -183.35, -0.13, -108.74, 2, 0)
  24. MovementLoopAddLocation(NPC, -182.04, -0.07, -108.47, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -182.04, -0.07, -108.47, 2, 0)
  26. MovementLoopAddLocation(NPC, -183.38, -0.13, -108.39, 2, 0)
  27. MovementLoopAddLocation(NPC, -186.57, -0.1, -106.4, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -186.57, -0.1, -106.4, 2, 0)
  29. MovementLoopAddLocation(NPC, -184.69, -0.11, -106.17, 2, 0)
  30. MovementLoopAddLocation(NPC, -183.08, -0.08, -107.39, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -183.08, -0.08, -107.39, 2, 0)
  32. MovementLoopAddLocation(NPC, -184.41, -0.11, -107.23, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -184.41, -0.11, -107.23, 2, 0)
  34. MovementLoopAddLocation(NPC, -183.79, -0.13, -108.54, 2, 0)
  35. MovementLoopAddLocation(NPC, -181.79, -0.06, -110.22, 2, math.random(5,10))
  36. MovementLoopAddLocation(NPC, -181.79, -0.06, -110.22, 2, 0)
  37. MovementLoopAddLocation(NPC, -181.86, 0.11, -112.13, 2, 0)
  38. MovementLoopAddLocation(NPC, -181.01, -0.02, -114.52, 2, 3)
  39. end