9
3

afreshwatertrout5.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function waypoints(NPC)
  20. MovementLoopAddLocation(NPC, 934.02, 0.97, -273.71, 2, 4)
  21. MovementLoopAddLocation(NPC, 927.4, 1.1, -279.91, 2, 0)
  22. MovementLoopAddLocation(NPC, 924.12, 1.15, -282.01, 2, 0)
  23. MovementLoopAddLocation(NPC, 917.83, 1.2, -281.75, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 917.83, 1.2, -281.75, 2, 0)
  25. MovementLoopAddLocation(NPC, 926.01, 1.21, -282.16, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 926.01, 1.21, -282.16, 2, 0)
  27. MovementLoopAddLocation(NPC, 927.31, 1.11, -280.06, 2, 0)
  28. MovementLoopAddLocation(NPC, 932.42, 0.88, -275.88, 2, 0)
  29. MovementLoopAddLocation(NPC, 935.41, 1.04, -275.61, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 935.41, 1.04, -275.61, 2, 0)
  31. MovementLoopAddLocation(NPC, 932.6, 0.35, -263.97, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 932.6, 0.35, -263.97, 2, 0)
  33. MovementLoopAddLocation(NPC, 933.61, 0.92, -270.15, 2, 0)
  34. MovementLoopAddLocation(NPC, 932.13, 0.89, -276.16, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 932.13, 0.89, -276.16, 2, 0)
  36. MovementLoopAddLocation(NPC, 933.5, 0.66, -267.74, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, 933.5, 0.66, -267.74, 2, 0)
  38. MovementLoopAddLocation(NPC, 934.02, 0.97, -273.71, 2, 4)
  39. end