ascrawnySabertoothPath1.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/ascrawnySabertoothPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.05.02 02:05:10
  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, -1.89, 0.41, -14.64, 2, math.random(5,10))
  20. MovementLoopAddLocation(NPC, -3.7, 0.55, -17.5, 2, 0)
  21. MovementLoopAddLocation(NPC, -3.7, 0.55, -17.5, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 2.19, 0.22, -16.38, 2, 0)
  23. MovementLoopAddLocation(NPC, 2.19, 0.22, -16.38, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 3.92, 0, -15.93, 2, 0)
  25. MovementLoopAddLocation(NPC, 7.9, 0.41, -18.41, 2, 0)
  26. MovementLoopAddLocation(NPC, 7.9, 0.41, -18.41, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 0.24, 0.55, -19.47, 2, 0)
  28. MovementLoopAddLocation(NPC, 0.24, 0.55, -19.47, 2, math.random(5,10))
  29. end