aBloodsaberCenterPatrol.lua 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/aBloodsaberCenterPatrol.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.11 02:11:18
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, 6.82, -4, -160.27, 2, 5)
  19. MovementLoopAddLocation(NPC, 6.8, -3.95, -154.26, 2, 0)
  20. MovementLoopAddLocation(NPC, 7.5, -2.48, -151.34, 2, 0)
  21. MovementLoopAddLocation(NPC, 6.67, -1.12, -148.5, 2, 0)
  22. MovementLoopAddLocation(NPC, 6.78, -0.02, -146.19, 2, 0)
  23. MovementLoopAddLocation(NPC, 6.87, 0.11, -143.39, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 6.87, 0.11, -143.39, 2, 0)
  25. MovementLoopAddLocation(NPC, 7.06, 0, -146.06, 2, 0)
  26. MovementLoopAddLocation(NPC, 7.43, -1.74, -149.85, 2, 0)
  27. MovementLoopAddLocation(NPC, 6.75, -3.9, -154.11, 2, 0)
  28. MovementLoopAddLocation(NPC, 6.82, -4, -160.27, 2, 2)
  29. end