9
3

astalwartSabertoothSCPath.lua 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/astalwartSabertoothSCPath.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.05.11 07:05:21
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. AddTimer(NPC, 6000, "waypoints")
  10. VoiceBox(NPC)
  11. end
  12. function VoiceBox(NPC)
  13. local choice = MakeRandomInt(1,3)
  14. if choice == 1 then
  15. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGnoll1.lua")
  16. elseif choice == 2 then
  17. dofile("SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll1.lua")
  18. elseif choice == 3 then
  19. dofile("SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll2.lua")
  20. end
  21. end
  22. function hailed(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end
  28. function waypoints(NPC)
  29. MovementLoopAddLocation(NPC, -53.65, -18.46, 26.96, 2, 0)
  30. MovementLoopAddLocation(NPC, -52.05, -18.19, 28.32, 2, 0)
  31. MovementLoopAddLocation(NPC, -48.48, -17.95, 30.92, 2, 0)
  32. MovementLoopAddLocation(NPC, -45.56, -17.72, 30.72, 2, 0)
  33. MovementLoopAddLocation(NPC, -42.89, -17.63, 29.26, 2, 0)
  34. MovementLoopAddLocation(NPC, -42.34, -17.58, 25.67, 2, 0)
  35. MovementLoopAddLocation(NPC, -42.35, -17.57, 23.75, 2, 0)
  36. MovementLoopAddLocation(NPC, -40.47, -17.51, 21.89, 2, 0)
  37. MovementLoopAddLocation(NPC, -38.72, -17.13, 21.55, 2, 0)
  38. MovementLoopAddLocation(NPC, -37.23, -16.9, 21.47, 2, 0)
  39. MovementLoopAddLocation(NPC, -34.99, -16.59, 21.57, 2, 0)
  40. MovementLoopAddLocation(NPC, -34.03, -16.46, 22.17, 2, 0)
  41. MovementLoopAddLocation(NPC, -36.81, -16.81, 20.81, 2, 0)
  42. MovementLoopAddLocation(NPC, -38.98, -17.19, 21.25, 2, 0)
  43. MovementLoopAddLocation(NPC, -41.51, -17.52, 23.1, 2, 0)
  44. MovementLoopAddLocation(NPC, -44.82, -17.69, 30.42, 2, 0)
  45. MovementLoopAddLocation(NPC, -46.74, -17.83, 31.38, 2, 0)
  46. MovementLoopAddLocation(NPC, -49.05, -18.06, 30.97, 2, 0)
  47. MovementLoopAddLocation(NPC, -50.04, -18.1, 29.35, 2, 0)
  48. end