aSabertoothtacticianPath1.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/aSabertoothtacticianPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.05.11 04:05:22
  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,2)
  14. if choice == 1 then
  15. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGnoll1.lua")
  16. elseif choice == 2 then
  17. dofile("SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll3.lua")
  18. end
  19. end
  20. function hailed(NPC, Spawn)
  21. FaceTarget(NPC, Spawn)
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end
  26. function waypoints(NPC)
  27. MovementLoopAddLocation(NPC, -57.53, -17.31, 63, 2, 0)
  28. MovementLoopAddLocation(NPC, -57.53, -17.31, 63, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, -52.77, -17.03, 64.92, 2, 0)
  30. MovementLoopAddLocation(NPC, -53.97, -17.1, 66.24, 2, 0)
  31. MovementLoopAddLocation(NPC, -53.97, -17.1, 66.24, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -62.35, -17.2, 65.14, 2, 0)
  33. MovementLoopAddLocation(NPC, -62.35, -17.2, 65.14, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -54.12, -16.99, 62.1, 2, 0)
  35. MovementLoopAddLocation(NPC, -54.12, -16.99, 62.1, 2, math.random(5,10))
  36. MovementLoopAddLocation(NPC, -63.01, -17.27, 63.26, 2, 0)
  37. MovementLoopAddLocation(NPC, -63.01, -17.27, 63.26, 2, math.random(5,10))
  38. MovementLoopAddLocation(NPC, -55.26, -17.21, 64.09, 2, 0)
  39. MovementLoopAddLocation(NPC, -55.26, -17.21, 64.09, 2, math.random(5,10))
  40. MovementLoopAddLocation(NPC, -53.26, -16.96, 62.06, 2, 0)
  41. MovementLoopAddLocation(NPC, -53.26, -16.96, 62.06, 2, math.random(5,10))
  42. MovementLoopAddLocation(NPC, -62.2, -17.2, 66.17, 2, 0)
  43. MovementLoopAddLocation(NPC, -62.2, -17.2, 66.17, 2, math.random(5,10))
  44. MovementLoopAddLocation(NPC, -55.38, -17.1, 65.19, 2, 0)
  45. MovementLoopAddLocation(NPC, -55.38, -17.1, 65.19, 2, math.random(5,10))
  46. end