atombrifterhatchling3.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:27
  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, -163.99, -0.08, -117.58, 2, 4)
  21. MovementLoopAddLocation(NPC, -164.45, -0.08, -118.49, 2, 0)
  22. MovementLoopAddLocation(NPC, -168.17, -0.03, -119.03, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -168.17, -0.03, -119.03, 2, 0)
  24. MovementLoopAddLocation(NPC, -161.99, -0.04, -119.25, 2, 0)
  25. MovementLoopAddLocation(NPC, -158.62, -0.11, -117.97, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, -158.62, -0.11, -117.97, 2, 0)
  27. MovementLoopAddLocation(NPC, -157.25, -0.05, -116.02, 2, 0)
  28. MovementLoopAddLocation(NPC, -157.29, -0.06, -114.47, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, -157.29, -0.06, -114.47, 2, 0)
  30. MovementLoopAddLocation(NPC, -156.25, -0.02, -117.26, 2, 0)
  31. MovementLoopAddLocation(NPC, -156.64, -0.09, -120.72, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -156.64, -0.09, -120.72, 2, 0)
  33. MovementLoopAddLocation(NPC, -158.57, -0.12, -119.34, 2, 0)
  34. MovementLoopAddLocation(NPC, -166.29, 0.11, -118.75, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -166.29, 0.11, -118.75, 2, 0)
  36. MovementLoopAddLocation(NPC, -165.18, -0.08, -118.81, 2, 0)
  37. MovementLoopAddLocation(NPC, -163.99, -0.08, -117.58, 2, 3)
  38. end