aGruttoothhunterPatrol1.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aGruttoothhunterPatrol1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.14 05:09:28
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGoblin1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. waypoints(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 22.71, 2, -248.69, 2, 5)
  22. MovementLoopAddLocation(NPC, 22.15, 2.01, -248.65, 2, 0)
  23. MovementLoopAddLocation(NPC, 24.71, 1.98, -249.08, 2, 0)
  24. MovementLoopAddLocation(NPC, 25.58, 1.96, -248.02, 2, 0)
  25. MovementLoopAddLocation(NPC, 24.55, 1.96, -245.69, 2, 0)
  26. MovementLoopAddLocation(NPC, 22.71, 1.82, -239.91, 2, 0)
  27. MovementLoopAddLocation(NPC, 21.06, 1.92, -236.05, 2, 0)
  28. MovementLoopAddLocation(NPC, 16.92, 1.59, -232.89, 2, 0)
  29. MovementLoopAddLocation(NPC, 14.36, 2.01, -230.9, 2, 0)
  30. MovementLoopAddLocation(NPC, 13.91, 2.15, -228.92, 2, 0)
  31. MovementLoopAddLocation(NPC, 10.28, 2.2, -225.08, 2, 0)
  32. MovementLoopAddLocation(NPC, 8.97, 2.33, -225.16, 2, 0)
  33. MovementLoopAddLocation(NPC, 7.85, 3.01, -224.57, 2, 0)
  34. MovementLoopAddLocation(NPC, 6.52, 3.01, -223.93, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 6.52, 3.01, -223.93, 2, 0)
  36. MovementLoopAddLocation(NPC, 8.04, 2.99, -224.77, 2, 0)
  37. MovementLoopAddLocation(NPC, 13.7, 2.17, -229.26, 2, 0)
  38. MovementLoopAddLocation(NPC, 14.67, 1.95, -231.22, 2, 0)
  39. MovementLoopAddLocation(NPC, 20.22, 1.88, -235.07, 2, 0)
  40. MovementLoopAddLocation(NPC, 21.87, 2.02, -237.25, 2, 0)
  41. MovementLoopAddLocation(NPC, 24.6, 1.91, -242.66, 2, 0)
  42. MovementLoopAddLocation(NPC, 25.86, 1.96, -247.11, 2, 0)
  43. MovementLoopAddLocation(NPC, 25.18, 1.96, -248.72, 2, 0)
  44. MovementLoopAddLocation(NPC, 22.71, 2, -248.69, 2, 0)
  45. end