atombrifterhatchling12.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling12.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 09:01:04
  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, -192.77, -0.09, -104.54, 2, 4)
  21. MovementLoopAddLocation(NPC, -194.67, -0.1, -102.91, 2, 0)
  22. MovementLoopAddLocation(NPC, -196.36, -0.08, -98.21, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -196.36, -0.08, -98.21, 2, 0)
  24. MovementLoopAddLocation(NPC, -198.52, -0.08, -98.35, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -198.52, -0.08, -98.35, 2, 0)
  26. MovementLoopAddLocation(NPC, -197.78, -0.08, -99.19, 2, 0)
  27. MovementLoopAddLocation(NPC, -198.73, -0.08, -102.01, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -198.73, -0.08, -102.01, 2, 0)
  29. MovementLoopAddLocation(NPC, -197.25, -0.06, -104.27, 2, 0)
  30. MovementLoopAddLocation(NPC, -196.82, -0.05, -103.34, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -193.51, -0.02, -106.34, 2, 0)
  32. MovementLoopAddLocation(NPC, -192, -0.04, -106.69, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -192, -0.04, -106.69, 2, 0)
  34. MovementLoopAddLocation(NPC, -193.16, -0.01, -106.3, 2, 0)
  35. MovementLoopAddLocation(NPC, -195.68, -0.03, -104.08, 2, 0)
  36. MovementLoopAddLocation(NPC, -192.77, -0.09, -104.54, 2, 3)
  37. end