ascrawnySabertoothPath2.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/ascrawnySabertoothPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.05.02 02:05:09
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGnoll1.lua")
  9. function spawn(NPC)
  10. AddTimer(NPC, 6000, "waypoints")
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function waypoints(NPC)
  19. MovementLoopAddLocation(NPC, 16.45, 0.43, -5.45, 2, 0)
  20. MovementLoopAddLocation(NPC, 16.45, 0.43, -5.45, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 16.47, 0.55, -18.02, 2, 0)
  22. MovementLoopAddLocation(NPC, 16.47, 0.55, -18.02, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 14.54, 0.44, -12.15, 2, 0)
  24. MovementLoopAddLocation(NPC, 14.54, 0.44, -12.15, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 14.33, 0.03, -4.11, 2, 0)
  26. MovementLoopAddLocation(NPC, 15.56, 0.39, -3.82, 2, 0)
  27. MovementLoopAddLocation(NPC, 17.57, 0.49, -8.76, 2, 0)
  28. MovementLoopAddLocation(NPC, 17.57, 0.49, -8.76, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 9.45, 0.54, -18.29, 2, 0)
  30. MovementLoopAddLocation(NPC, 9.45, 0.54, -18.29, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 16.67, 0.55, -11.64, 2, 0)
  32. MovementLoopAddLocation(NPC, 16.67, 0.55, -11.64, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 9.4, 0, -13.06, 2, 0)
  34. MovementLoopAddLocation(NPC, 9.4, 0, -13.06, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 13.41, 0, -5.9, 2, 0)
  36. MovementLoopAddLocation(NPC, 13.41, 0, -5.9, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, 13.55, 0.02, -8.98, 2, 0)
  38. MovementLoopAddLocation(NPC, 13.55, 0.02, -8.98, 2, math.random(5,10))
  39. MovementLoopAddLocation(NPC, 16.32, 0.35, -7.83, 2, 0)
  40. end