aBloodsaberRightPatrol.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. 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, -15.08, -4, -137.89, 2, 5)
  26. MovementLoopAddLocation(NPC, -9.38, -4, -137.33, 2, 0)
  27. MovementLoopAddLocation(NPC, -6.54, -2.63, -138.17, 2, 0)
  28. MovementLoopAddLocation(NPC, -1.15, -0.01, -137.75, 2, 0)
  29. MovementLoopAddLocation(NPC, 1.42, 0, -137.86, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 1.42, 0, -137.86, 2, 0)
  31. MovementLoopAddLocation(NPC, -0.93, 0, -138.66, 2, 0)
  32. MovementLoopAddLocation(NPC, -4.62, -1.65, -137.81, 2, 0)
  33. MovementLoopAddLocation(NPC, -9.29, -3.96, -138.03, 2, 0)
  34. MovementLoopAddLocation(NPC, -15.08, -4, -137.89, 2, 2)
  35. end