9
3

afreshwatertrout1.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/afreshwatertrout1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.19 07:10:50
  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, 912.84, 0.89, -276.71, 2, 4)
  21. MovementLoopAddLocation(NPC, 915.41, 0.53, -270.76, 2, 0)
  22. MovementLoopAddLocation(NPC, 920.29, -0.06, -265.84, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 920.29, -0.06, -265.84, 2, 0)
  24. MovementLoopAddLocation(NPC, 918.9, 0.06, -266.17, 2, 0)
  25. MovementLoopAddLocation(NPC, 915.31, 0.45, -264.44, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 915.31, 0.45, -264.44, 2, 0)
  27. MovementLoopAddLocation(NPC, 913.9, 0.79, -276.75, 2, 0)
  28. MovementLoopAddLocation(NPC, 916.55, 0.9, -280.01, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 916.55, 0.9, -280.01, 2, 0)
  30. MovementLoopAddLocation(NPC, 912.21, 0.9, -275.92, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 912.21, 0.9, -275.92, 2, 0)
  32. MovementLoopAddLocation(NPC, 918.74, 0.07, -265.99, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 918.74, 0.07, -265.99, 2, 0)
  34. MovementLoopAddLocation(NPC, 912.84, 0.89, -276.71, 2, 4)
  35. end