atombrifterhatchling7.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling7.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:19
  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, -180.28, -0.01, -109.77, 2, 4)
  21. MovementLoopAddLocation(NPC, -182.84, -0.05, -106.41, 2, 0)
  22. MovementLoopAddLocation(NPC, -184.72, -0.08, -104.96, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -184.72, -0.08, -104.96, 2, 0)
  24. MovementLoopAddLocation(NPC, -185.96, -0.09, -105.9, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -185.96, -0.09, -105.9, 2, 0)
  26. MovementLoopAddLocation(NPC, -184.39, -0.11, -106.5, 2, 0)
  27. MovementLoopAddLocation(NPC, -184.13, -0.12, -108.86, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -184.13, -0.12, -108.86, 2, 0)
  29. MovementLoopAddLocation(NPC, -182.39, -0.1, -110.09, 2, 0)
  30. MovementLoopAddLocation(NPC, -181.81, -0.03, -114.01, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -181.81, -0.03, -114.01, 2, 0)
  32. MovementLoopAddLocation(NPC, -181.67, -0.04, -111.03, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -181.67, -0.04, -111.03, 2, 0)
  34. MovementLoopAddLocation(NPC, -183.49, -0.13, -109.15, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -183.49, -0.13, -109.15, 2, 0)
  36. MovementLoopAddLocation(NPC, -184, -0.1, -106.66, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, -184, -0.1, -106.66, 2, 0)
  38. MovementLoopAddLocation(NPC, -181.8, -0.03, -107.53, 2, math.random(5,10))
  39. MovementLoopAddLocation(NPC, -181.8, -0.03, -107.53, 2, 0)
  40. MovementLoopAddLocation(NPC, -181.85, -0.1, -109.2, 2, 0)
  41. MovementLoopAddLocation(NPC, -180.28, -0.01, -109.77, 2, 3)
  42. end