afreshwatertrout5.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/afreshwatertrout5.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.19 07:10:16
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, 934.02, 0.97, -273.71, 2, 4)
  19. MovementLoopAddLocation(NPC, 927.4, 1.1, -279.91, 2, 0)
  20. MovementLoopAddLocation(NPC, 924.12, 1.15, -282.01, 2, 0)
  21. MovementLoopAddLocation(NPC, 917.83, 1.2, -281.75, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 917.83, 1.2, -281.75, 2, 0)
  23. MovementLoopAddLocation(NPC, 926.01, 1.21, -282.16, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 926.01, 1.21, -282.16, 2, 0)
  25. MovementLoopAddLocation(NPC, 927.31, 1.11, -280.06, 2, 0)
  26. MovementLoopAddLocation(NPC, 932.42, 0.88, -275.88, 2, 0)
  27. MovementLoopAddLocation(NPC, 935.41, 1.04, -275.61, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, 935.41, 1.04, -275.61, 2, 0)
  29. MovementLoopAddLocation(NPC, 932.6, 0.35, -263.97, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 932.6, 0.35, -263.97, 2, 0)
  31. MovementLoopAddLocation(NPC, 933.61, 0.92, -270.15, 2, 0)
  32. MovementLoopAddLocation(NPC, 932.13, 0.89, -276.16, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 932.13, 0.89, -276.16, 2, 0)
  34. MovementLoopAddLocation(NPC, 933.5, 0.66, -267.74, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 933.5, 0.66, -267.74, 2, 0)
  36. MovementLoopAddLocation(NPC, 934.02, 0.97, -273.71, 2, 4)
  37. end