9
3

aBloodsaberLeftPatrol.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. dofile("SpawnScripts/Generic/MonsterCallouts/BloodSabers.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. ratonga(NPC)
  13. --if not HasLanguage(Spawn,26) then
  14. --Garbled(NPC,Spawn)
  15. --end
  16. waypoints(NPC)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function waypoints(NPC)
  25. MovementLoopAddLocation(NPC, 28.87, -4, -137.87, 2, 7)
  26. MovementLoopAddLocation(NPC, 23.37, -4, -137.96, 2, 0)
  27. MovementLoopAddLocation(NPC, 19.88, -2.26, -137.53, 2, 0)
  28. MovementLoopAddLocation(NPC, 15.13, -0.01, -138.02, 2, 0)
  29. MovementLoopAddLocation(NPC, 12.49, 0.02, -137.92, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 12.49, 0.02, -137.92, 2, 0)
  31. MovementLoopAddLocation(NPC, 14.93, 0, -138.48, 2, 0)
  32. MovementLoopAddLocation(NPC, 18.48, -1.58, -137.26, 2, 0)
  33. MovementLoopAddLocation(NPC, 23.39, -4, -138.49, 2, 0)
  34. MovementLoopAddLocation(NPC, 28.87, -4, -137.87, 2, 2)
  35. end