9
3

aGruttoothhunterPatrol2.lua 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aGruttoothhunterPatrol2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.14 05:09:09
  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, -21.36, 1.79, -187, 2, 5)
  22. MovementLoopAddLocation(NPC, -21.48, 1.73, -187.1, 2, 0)
  23. MovementLoopAddLocation(NPC, -21.09, 1.73, -187.62, 2, 0)
  24. MovementLoopAddLocation(NPC, -18.36, 2.27, -189.16, 2, 0)
  25. MovementLoopAddLocation(NPC, -8.7, 2.06, -195.82, 2, 0)
  26. MovementLoopAddLocation(NPC, -6.44, 1.73, -199.2, 2, 0)
  27. MovementLoopAddLocation(NPC, -4.04, 1.95, -203.58, 2, 0)
  28. MovementLoopAddLocation(NPC, -2.06, 2.05, -209.39, 2, 0)
  29. MovementLoopAddLocation(NPC, -2.11, 1.91, -211.29, 2, 0)
  30. MovementLoopAddLocation(NPC, -3.52, 1.17, -212.42, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -3.52, 1.17, -212.42, 2, 0)
  32. MovementLoopAddLocation(NPC, -2.66, 1.66, -211.42, 2, 0)
  33. MovementLoopAddLocation(NPC, -2.93, 2.05, -206.82, 2, 0)
  34. MovementLoopAddLocation(NPC, -4.88, 1.81, -200.73, 2, 0)
  35. MovementLoopAddLocation(NPC, -7.74, 2.05, -195.97, 2, 0)
  36. MovementLoopAddLocation(NPC, -4.24, 2.62, -175.16, 2, 0)
  37. MovementLoopAddLocation(NPC, -8.23, 2.63, -165.62, 4, 0)
  38. MovementLoopAddLocation(NPC, -11.02, 1.28, -162.47, 4, math.random(5,10))
  39. MovementLoopAddLocation(NPC, -11.02, 1.28, -162.47, 2, 0)
  40. MovementLoopAddLocation(NPC, -11.35, 1.45, -163.31, 2, 0)
  41. MovementLoopAddLocation(NPC, -6.33, 2.62, -171.88, 2, 0)
  42. MovementLoopAddLocation(NPC, -5.8, 2.62, -175.57, 2, 0)
  43. MovementLoopAddLocation(NPC, -10.52, 2.64, -187.17, 2, 0)
  44. MovementLoopAddLocation(NPC, -13.32, 2.65, -188.57, 2, 0)
  45. MovementLoopAddLocation(NPC, -16.87, 2.62, -186.95, 2, 0)
  46. MovementLoopAddLocation(NPC, -19.6, 2.47, -186.06, 2, 0)
  47. MovementLoopAddLocation(NPC, -21.36, 1.79, -187, 2, 0)
  48. end