aBloodsaberLeftPatrol.lua 994 B

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/aBloodsaberLeftPatrol.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.11 01:11:34
  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, 28.87, -4, -137.87, 2, 7)
  19. MovementLoopAddLocation(NPC, 23.37, -4, -137.96, 2, 0)
  20. MovementLoopAddLocation(NPC, 19.88, -2.26, -137.53, 2, 0)
  21. MovementLoopAddLocation(NPC, 15.13, -0.01, -138.02, 2, 0)
  22. MovementLoopAddLocation(NPC, 12.49, 0.02, -137.92, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 12.49, 0.02, -137.92, 2, 0)
  24. MovementLoopAddLocation(NPC, 14.93, 0, -138.48, 2, 0)
  25. MovementLoopAddLocation(NPC, 18.48, -1.58, -137.26, 2, 0)
  26. MovementLoopAddLocation(NPC, 23.39, -4, -138.49, 2, 0)
  27. MovementLoopAddLocation(NPC, 28.87, -4, -137.87, 2, 2)
  28. end