9
3

atombrifterhatchling1.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:52
  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, -160.33, -0.05, -113.41, 2, 4)
  21. MovementLoopAddLocation(NPC, -157.68, -0.09, -117.17, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -157.68, -0.09, -117.17, 2, 0)
  23. MovementLoopAddLocation(NPC, -158.97, -0.12, -118.58, 2, 0)
  24. MovementLoopAddLocation(NPC, -162.79, -0.08, -119.15, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -162.79, -0.08, -119.15, 2, 0)
  26. MovementLoopAddLocation(NPC, -163.5, -0.08, -119.87, 2, 0)
  27. MovementLoopAddLocation(NPC, -160.43, -0.11, -121.5, 2, 0)
  28. MovementLoopAddLocation(NPC, -160, -0.04, -123.96, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, -160, -0.04, -123.96, 2, 0)
  30. MovementLoopAddLocation(NPC, -160.53, -0.1, -122.49, 2, 0)
  31. MovementLoopAddLocation(NPC, -157.08, -0.08, -118.1, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -157.08, -0.08, -118.1, 2, 0)
  33. MovementLoopAddLocation(NPC, -157.77, -0.09, -116.95, 2, 0)
  34. MovementLoopAddLocation(NPC, -158.47, -0.07, -112.41, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -158.47, -0.07, -112.41, 2, 0)
  36. MovementLoopAddLocation(NPC, -160.33, -0.05, -113.41, 2, 3)
  37. end