9
3

atombrifterhatchling2.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/atombrifterhatchling2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.11 08:01:11
  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.57, -0.08, -120.36, 2, 4)
  21. MovementLoopAddLocation(NPC, -164.17, -0.08, -118.67, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -164.17, -0.08, -118.67, 2, 0)
  23. MovementLoopAddLocation(NPC, -160.1, -0.13, -119.79, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, -160.1, -0.13, -119.79, 2, 0)
  25. MovementLoopAddLocation(NPC, -160.47, -0.1, -120.96, 2, 0)
  26. MovementLoopAddLocation(NPC, -158.21, -0.13, -122.6, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -158.21, -0.13, -122.6, 2, 0)
  28. MovementLoopAddLocation(NPC, -159.12, -0.13, -121.06, 2, 0)
  29. MovementLoopAddLocation(NPC, -159.34, -0.11, -117.72, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -159.34, -0.11, -117.72, 2, 0)
  31. MovementLoopAddLocation(NPC, -160.12, -0.12, -118.67, 2, 0)
  32. MovementLoopAddLocation(NPC, -163.47, -0.08, -118.6, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -163.47, -0.08, -118.6, 2, 0)
  34. MovementLoopAddLocation(NPC, -163.57, -0.08, -120.36, 2, 3)
  35. end