Peter.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/Peter.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.25 12:07:48
  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, 76.25, -4.37, 10.68, 2, math.random(4,12))
  19. MovementLoopAddLocation(NPC, 79.53, -4.37, 5.25, 2, math.random(4,12))
  20. MovementLoopAddLocation(NPC, 83.45, -4.37, 8.12, 2, math.random(4,12))
  21. MovementLoopAddLocation(NPC, 88.14, -4.37, 17.4, 2, math.random(4,12))
  22. MovementLoopAddLocation(NPC, 92.18, -4.37, 20.36, 2, math.random(4,12))
  23. MovementLoopAddLocation(NPC, 96.4, -4.37, 18.94, 2, math.random(4,12))
  24. MovementLoopAddLocation(NPC, 91.97, -4.37, 16.03, 2, math.random(4,12))
  25. MovementLoopAddLocation(NPC, 83.45, -4.37, 20.74, 2, math.random(4,12))
  26. MovementLoopAddLocation(NPC, 81.69, -4.37, 12.93, 2, math.random(4,12))
  27. MovementLoopAddLocation(NPC, 77.57, -4.37, 6.62, 2, math.random(4,12))
  28. MovementLoopAddLocation(NPC, 69.84, -2.25, 4.53, 2, math.random(4,12))
  29. MovementLoopAddLocation(NPC, 77.58, -4.37, 6.61, 2, math.random(4,12))
  30. MovementLoopAddLocation(NPC, 80.22, -4.37, 13.67, 2, math.random(4,12))
  31. MovementLoopAddLocation(NPC, 72.09, -4.37, 14.2, 2, math.random(4,12))
  32. MovementLoopAddLocation(NPC, 94.6, -4.37, 17.22, 2, math.random(4,12))
  33. MovementLoopAddLocation(NPC, 79.11, -4.37, 11.37, 2, math.random(4,12))
  34. end