aBloodsaberscout2.lua 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/aBloodsaberscout2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.09 08:01: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, 2.4, -0.06, -105.92, 2, 4)
  26. MovementLoopAddLocation(NPC, -1.06, -0.11, -102.56, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -1.06, -0.11, -102.56, 2, 0)
  28. MovementLoopAddLocation(NPC, 2.2, -0.02, -106.53, 2, 0)
  29. MovementLoopAddLocation(NPC, 6.03, -0.05, -108.01, 2, 0)
  30. MovementLoopAddLocation(NPC, 10.85, 0.17, -103.98, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 10.85, 0.17, -103.98, 2, 0)
  32. MovementLoopAddLocation(NPC, 7.71, -0.09, -107.95, 2, 0)
  33. MovementLoopAddLocation(NPC, 4.38, -0.04, -107.53, 2, 0)
  34. MovementLoopAddLocation(NPC, 3.15, -0.12, -105.54, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 3.15, -0.12, -105.54, 2, 0)
  36. MovementLoopAddLocation(NPC, 4.2, -0.01, -108.28, 2, 0)
  37. MovementLoopAddLocation(NPC, 10.57, -0.07, -107.69, 2, 0)
  38. MovementLoopAddLocation(NPC, 12.16, 0.04, -106.97, 2, math.random(5,10))
  39. MovementLoopAddLocation(NPC, 12.16, 0.04, -106.97, 2, 0)
  40. MovementLoopAddLocation(NPC, 7.89, -0.06, -108.33, 2, 0)
  41. MovementLoopAddLocation(NPC, 3.96, -0.06, -107.18, 2, 0)
  42. MovementLoopAddLocation(NPC, 0.08, -0.09, -104.24, 2, math.random(5,10))
  43. MovementLoopAddLocation(NPC, 0.08, -0.09, -104.24, 2, 0)
  44. MovementLoopAddLocation(NPC, 0.52, -0.05, -101.78, 2, 0)
  45. MovementLoopAddLocation(NPC, -0.2, -0.07, -101.39, 2, math.random(5,10))
  46. MovementLoopAddLocation(NPC, -0.2, -0.07, -101.39, 2, 0)
  47. MovementLoopAddLocation(NPC, 2.4, -0.07, -103.88, 2, 0)
  48. MovementLoopAddLocation(NPC, 3.34, -0.05, -107.11, 2, 0)
  49. MovementLoopAddLocation(NPC, 6.83, -0.07, -107.96, 2, 0)
  50. MovementLoopAddLocation(NPC, 8.14, -0.1, -106.27, 2, math.random(5,10))
  51. MovementLoopAddLocation(NPC, 8.14, -0.1, -106.27, 2, 0)
  52. MovementLoopAddLocation(NPC, 5.72, -0.05, -107.8, 2, 0)
  53. MovementLoopAddLocation(NPC, 2.4, -0.06, -105.92, 2, 3)
  54. end