aBloodsaberRightPatrol.lua 990 B

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/aBloodsaberRightPatrol.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.11 01:11:10
  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, -15.08, -4, -137.89, 2, 5)
  19. MovementLoopAddLocation(NPC, -9.38, -4, -137.33, 2, 0)
  20. MovementLoopAddLocation(NPC, -6.54, -2.63, -138.17, 2, 0)
  21. MovementLoopAddLocation(NPC, -1.15, -0.01, -137.75, 2, 0)
  22. MovementLoopAddLocation(NPC, 1.42, 0, -137.86, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 1.42, 0, -137.86, 2, 0)
  24. MovementLoopAddLocation(NPC, -0.93, 0, -138.66, 2, 0)
  25. MovementLoopAddLocation(NPC, -4.62, -1.65, -137.81, 2, 0)
  26. MovementLoopAddLocation(NPC, -9.29, -3.96, -138.03, 2, 0)
  27. MovementLoopAddLocation(NPC, -15.08, -4, -137.89, 2, 2)
  28. end