Igor.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/Igor.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.25 11:07:07
  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, 84.89, -4.37, 14.49, 2, math.random(4,12))
  19. MovementLoopAddLocation(NPC, 81.65, -4.37, 11.98, 2, math.random(4,12))
  20. MovementLoopAddLocation(NPC, 73.01, -4.37, 11.11, 2, math.random(4,12))
  21. MovementLoopAddLocation(NPC, 74.75, -4.37, 13.94, 2, math.random(4,12))
  22. MovementLoopAddLocation(NPC, 86.32, -4.37, 16.33, 2, math.random(4,12))
  23. MovementLoopAddLocation(NPC, 93.87, -4.37, 16.42, 2, math.random(4,12))
  24. MovementLoopAddLocation(NPC, 95.48, -4.37, 18.33, 2, math.random(4,12))
  25. MovementLoopAddLocation(NPC, 93.03, -4.37, 20.01, 2, math.random(4,12))
  26. MovementLoopAddLocation(NPC, 91.23, -4.37, 19.55, 2, math.random(4,12))
  27. MovementLoopAddLocation(NPC, 86.68, -4.37, 17.18, 2, math.random(4,12))
  28. MovementLoopAddLocation(NPC, 82.71, -4.37, 15.17, 2, math.random(4,12))
  29. MovementLoopAddLocation(NPC, 73.99, -4.37, 14.29, 2, math.random(4,12))
  30. MovementLoopAddLocation(NPC, 73.19, -4.37, 13.04, 2, math.random(4,12))
  31. MovementLoopAddLocation(NPC, 84.98, -4.37, 13.54, 2, math.random(4,12))
  32. end